/* GENERATED by portfolio/scripts/lift-lumi-chat-kit.mjs from assets/sections.css, the five AI logos (.ask-ai-mark), its "ASK AI HOMES" block and everything from "Site guide (Lumi on the home page)" to its end. Do not edit; change sections.css, then run the script. Load the site fonts and tokens.css first. */
    /* Longhand masks on purpose: Safari/WebKit rejects the position/size slash
       syntax inside the -webkit-mask shorthand, which killed the whole declaration
       and left iPhones with blank icon buttons. Longhands parse everywhere. */
    .ask-ai-mark {
      display: block;
      width: var(--btn-glyph-lg);
      height: var(--btn-glyph-lg);
      background: currentColor;
      -webkit-mask-image: var(--ask-ai-mask);
      -webkit-mask-position: center;
      -webkit-mask-size: contain;
      -webkit-mask-repeat: no-repeat;
      mask-image: var(--ask-ai-mask);
      mask-position: center;
      mask-size: contain;
      mask-repeat: no-repeat;
    }
    /* Mobile: larger 22px marks (Nathan's call, matching the approved mock; the 18px
       base matches the desktop footer social icons). Deliberate one-off size: the glyph
       scale has no 22px token and the 44px tap target is unchanged. */
    @media (max-width: 767px) {
      .ask-ai-mark { width: 22px; height: 22px; }
    }
    .ask-ai-mark--chatgpt { --ask-ai-mask: url("../../../assets/logos/chatgpt.svg"); }
    .ask-ai-mark--claude { --ask-ai-mask: url("../../../assets/logos/claude.svg"); }
    .ask-ai-mark--perplexity { --ask-ai-mask: url("../../../assets/logos/perplexity.svg"); }
    .ask-ai-mark--gemini { --ask-ai-mask: url("../../../assets/logos/gemini.svg"); }
    .ask-ai-mark--grok { --ask-ai-mask: url("../../../assets/logos/grok.svg"); }

/* ================================================================
       ASK AI HOMES (Nathan's picks from the glass and Ask AI options page,
       2026-09-25; the header took over from the tablet button on 2026-10-08,
       W60 ONE HEADER). One home per width, never two at once: the bar above
       on phones, and from 544 a header button beside the theme control. Below
       1200 the nav folds into the menu, which frees the room the button needs;
       on a phone it does not fit beside the 44 controls without shrinking the
       name, so the bar stays there. The floating tablet button that held 768 to
       1199 now serves only the design-system view at 1200 to 1439 (Theme lab
       stays the only primary, so Ask AI takes the secondary style and never
       borrows lime for its open state; its own signal is the spectrum). The
       pill both buttons open is Glass level one with the fading rim; the
       spectrum glows THROUGH it from a separate layer behind it (a glass
       element only samples what is behind it), and it grows out of its
       button on the spring. Markup: CMP:ask-ai-trigger and CMP:ask-ai-float
       (tokens/components.manifest.js); placement script beside the markup.
       ================================================================ */
    @property --ask-ai-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
    .ask-ai-drop, .ask-ai-aura::before, .ask-ai-ring {
      /* The stops are the shared :root list and the lap is fx.spectrum-spin
         (lifted 2026-09-25 when the Try it live Ask AI card became the second
         consumer). The gradient itself is still built here, on the element
         that spins it: the angle does not inherit, so declared on .ask-ai-aura
         it resolved once at 0deg and the aura never turned (#848). */
      --ask-ai-spectrum: conic-gradient(from var(--ask-ai-angle), var(--ask-ai-spectrum-stops));
    }
    @keyframes ask-ai-spin { to { --ask-ai-angle: 360deg; } }
    /* The bar stands down from 544 wherever script runs, the same width the
       header button below takes over, so the two are exact complements. With
       scripting off the buttons step aside (data-needs-script) and the bar
       stays, so Ask AI never disappears. */
    @media (min-width: 34em) and (scripting: enabled) {
      .ask-ai-bar { display: none; }
    }

    /* Header button. On phones and a mouse its 36px height and 44px ghost ride
       the .header-ask rule (the 36-visual header block); on a touch tablet it
       keeps the button's own 44, level with the circles beside it. This
       only decides where it shows and how much of its label fits. Its swap
       points are em, like the header nav's own 75em (index.html), so the bar
       above and this button hand over together when the reader has set a
       larger text size (W59). 34em is 544px, the reviewed tier above where the
       full label starts to crowd: measured 2026-10-08 with the 36 phone
       controls, it meets the bar's 24px gap floor at about 513 and leaves 53px
       at 544.
       75em is 1200px, 90em is 1440px at the default size. */
    [id="site-header"] .header-ask { display: none; flex-shrink: 0; position: relative; white-space: nowrap; }
    /* Resume (2026-10-14): computer only, from the 75em the nav stands up at; the
       menu and the footer carry it below. */
    [id="site-header"] .header-cv { display: none; flex-shrink: 0; white-space: nowrap; }
    @media (min-width: 75em) {
      [id="site-header"] .header-cv { display: inline-flex; }
    }
    @media (min-width: 34em) {
      [id="site-header"] .header-ask { display: inline-flex; }
    }
    /* While the menu drawer is open the button steps aside, as the bar does:
       the menu is for moving around the page, and the button's glow would sit
       under the drawer. visibility also takes it out of the Tab order. */
    body.drawer-open [id="site-header"] .header-ask { visibility: hidden; }
    /* The design-system view's nav carries nine items, and with Ask AI beside
       them the bar clipped 25px of its own content at 1200 (overflow gate,
       2026-09-25). In that view, below the next tier, Ask AI takes the bottom
       button instead, so it is still one home and never none. */
    @media (min-width: 75em) and (max-width: 89.99875em) {
      html[data-uth] [id="site-header"] .header-ask { display: none; }
    }
    /* The button reads "Ask AI" at every width (his pick 23 Nov 2026, chat ASK AI
       INPUT, review page ask-ai-input). "about me" leaves the screen but not the
       name, so a screen reader still hears "Ask AI about me", and the visible
       words lead it (WCAG 2.5.3). It used to show from 600 to 1199 and from 1440. */
    .header-ask-more {
      position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
    }

    /* Floating button: the floating chip's height (circle-plus-4px), on glass.
       Since 2026-10-08 it serves only the design-system view at 1200 to 1439,
       where the nine-link nav leaves the header no room; everywhere else the
       header button above holds Ask AI from 544. It shows and hides exactly like
       the bar, and like the bar it stays in the tab order while hidden (opacity
       and a translate, never visibility: hidden): :focus-within slides it up the
       moment Tab reaches it. WCAG 2.1.1, found by Nathan on the hands-on
       checklist 2026-09-28: with visibility: hidden the button was unreachable by
       keyboard until the page had been scrolled up, and where it shows it is the
       only Ask AI home. */
    .ask-ai-dock {
      position: fixed; left: 0; right: 0;
      bottom: max(var(--space-400), env(safe-area-inset-bottom));
      z-index: var(--z-sticky);
      display: none; justify-content: center; pointer-events: none;
      transform: translateY(160%); opacity: 0;
      transition: transform var(--duration-base) var(--ease-default), opacity var(--duration-base) var(--ease-default);
    }
    body.is-scrolled.scrolling-up:not(.drawer-open):not([data-footer-near]) .ask-ai-dock,
    .ask-ai-dock:focus-within,
    .ask-ai-dock[data-open] {
      transform: translateY(0); opacity: 1;
    }
    @media (min-width: 75em) and (max-width: 89.99875em) {
      html[data-uth] .ask-ai-dock { display: flex; }
    }
    .ask-ai-fab {
      pointer-events: auto; position: relative;
      display: inline-flex; align-items: center; gap: var(--space-200);
      min-height: calc(var(--header-control) + 2 * var(--space-100) + var(--space-50));
      padding: 0 var(--space-400);
      font-family: var(--btn-font); font-size: var(--btn-font-size); font-weight: var(--btn-font-weight);
      color: var(--color-text-primary); white-space: nowrap; cursor: pointer;
      background: var(--glass-tint-scrolled);
      -webkit-backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate));
      backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate));
      border: 1px solid transparent; border-radius: var(--chip-radius);
      box-shadow: var(--glass-shadow), var(--glass-specular);
      -webkit-tap-highlight-color: transparent;
      transition: background var(--duration-fast) var(--ease-default), color var(--duration-fast) var(--ease-default);
    }
    .ask-ai-fab svg { width: var(--btn-glyph-lg); height: var(--btn-glyph-lg); flex: none; }
    /* Hover (W60 K, 2026-10-08, Nathan: "the lime green is a bit too much"):
       both Ask AI buttons show the spectrum ring they wear when open, with no
       fill, so hover previews the open state instead of shouting. The header
       button is a .btn--secondary, so its lime hover is undone here; the ring
       replaces the outline rather than sitting on it. Keyboard focus keeps the
       site's own focus ring. */
    @media (hover: hover) {
      [id="site-header"] .header-ask:hover { background: transparent; color: var(--btn-secondary-fg); border-color: transparent; }
      .header-ask:hover > .ask-ai-ring,
      .ask-ai-fab:hover > .ask-ai-ring { opacity: 1; }
    }
    .ask-ai-fab:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); }
    .ask-ai-fab:active { background: var(--brand-primary-dim); color: var(--btn-primary-fg); }

    /* The fading rim, on the tablet button and the pill (the Ask AI bar's
       pill wears the same recipe above). */
    .ask-ai-fab::before, .ask-ai-drop::before {
      content: "";
      position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
      background: linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom));
      -webkit-mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      mask-clip: content-box, border-box;
      mask-composite: exclude;
    }

    /* Open state on either button: the spectrum traced round its edge. */
    .ask-ai-ring {
      position: absolute; inset: -1px; border-radius: inherit; padding: var(--space-50); pointer-events: none;
      background: var(--ask-ai-spectrum);
      -webkit-mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      mask-clip: content-box, border-box;
      mask-composite: exclude;
      opacity: 0;
      animation: ask-ai-spin var(--fx-spectrum-spin) linear infinite;
      transition: opacity var(--duration-fast) var(--ease-default);
    }
    [aria-expanded="true"] > .ask-ai-ring { opacity: 1; }

    /* The nudge (Nathan's pick from the ask-ai-nudge lab, 2026-10-08: Ring,
       Drift, Soft, three beats). A quiet hint short of the hover: the two small
       sparks twinkle a beat apart while a faint trace of the open ring shows
       for half a lap and fades. The big star holds still and the ring stays at
       a third of its open strength, so the hint never reads as hovered or
       focused. The script beside CMP:ask-ai-float sets data-nudge for one beat,
       three times at a random 6 to 10s gap, and never under Reduce motion. */
    [data-ask-ai-trigger][data-nudge] > .ask-ai-ring {
      animation: ask-ai-spin var(--fx-spectrum-spin) linear infinite, ask-ai-nudge-ring calc(var(--duration-flourish) * 3) var(--ease-default) both;
    }
    @keyframes ask-ai-nudge-ring {
      0% { opacity: 0; } 30% { opacity: var(--alpha-500); } 62% { opacity: var(--alpha-500); } 100% { opacity: 0; }
    }
    /* Each small plus dips, then pops past size while it turns a quarter (a
       plus turned 90 degrees is the same plus, so it lands on its rest frame).
       The lower-left one is a 2px plus with a 2px round stroke: scaled as far
       it thickens into a dot, so it pops less and dims at the dip instead. */
    [data-ask-ai-trigger][data-nudge] [data-lucide="sparkles"] > path:nth-child(2),
    [data-ask-ai-trigger][data-nudge] [data-lucide="sparkles"] > path:nth-child(3) {
      animation: ask-ai-twinkle calc(var(--duration-slow) * 1.75) var(--ease-default) both;
      animation-delay: 0ms;
    }
    [data-ask-ai-trigger][data-nudge] [data-lucide="sparkles"] > path:nth-child(4),
    [data-ask-ai-trigger][data-nudge] [data-lucide="sparkles"] > path:nth-child(5) {
      animation: ask-ai-twinkle-sm calc(var(--duration-slow) * 1.75) var(--ease-default) both;
      animation-delay: calc(var(--duration-slow) * 0.6);
    }
    @keyframes ask-ai-twinkle {
      0% { transform: scale(1) rotate(0deg); }
      32% { transform: scale(0.2) rotate(0deg); }
      66% { transform: scale(1.6) rotate(60deg); }
      100% { transform: scale(1) rotate(90deg); }
    }
    @keyframes ask-ai-twinkle-sm {
      0% { transform: scale(1) rotate(0deg); opacity: 1; }
      32% { transform: scale(0.2) rotate(0deg); opacity: 0.35; }
      66% { transform: scale(1.2) rotate(60deg); opacity: 1; }
      100% { transform: scale(1) rotate(90deg); opacity: 1; }
    }
    /* The script never starts it under Reduce motion; this belt holds it still
       if anything ever sets the attribute anyway. */
    @media (prefers-reduced-motion: reduce) {
      [data-ask-ai-trigger][data-nudge] > .ask-ai-ring,
      [data-ask-ai-trigger][data-nudge] [data-lucide="sparkles"] > path { animation: none; }
    }

    /* The pill. */
    .ask-ai-drop {
      --ask-ai-rise: calc(-1 * var(--space-200));
      position: fixed; top: 0; left: 0; z-index: var(--z-overlay);
      display: flex; gap: var(--space-100); padding: var(--space-100);
      background: var(--glass-tint-scrolled);
      -webkit-backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate));
      backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate));
      border: 1px solid transparent; border-radius: var(--chip-radius);
      box-shadow: var(--glass-shadow), var(--glass-specular);
      transform-origin: var(--ask-ai-origin, 50% 0%);
      opacity: 0; visibility: hidden; transform: scale(0.3, 0.55); filter: blur(var(--space-100));
      transition:
        opacity var(--duration-base) var(--ease-default),
        transform var(--duration-flourish) var(--ease-spring),
        filter var(--duration-moderate) var(--ease-default),
        visibility 0s var(--duration-flourish);
    }
    .ask-ai-drop[data-from="below"] { --ask-ai-rise: var(--space-200); }
    .ask-ai-drop[data-open] {
      opacity: 1; visibility: visible; transform: none; filter: none;
      transition:
        opacity var(--duration-base) var(--ease-default),
        transform var(--duration-flourish) var(--ease-spring),
        filter var(--duration-moderate) var(--ease-default),
        visibility 0s 0s;
    }
    /* The logos settle in one after another on the same spring, on the site's
       stagger step. */
    .ask-ai-drop .ask-ai-btn {
      opacity: 0; transform: translateY(var(--ask-ai-rise)) scale(0.6); filter: blur(var(--space-50));
      transition:
        opacity var(--duration-base) var(--ease-default),
        transform var(--duration-slow) var(--ease-spring),
        filter var(--duration-moderate) var(--ease-default),
        background var(--duration-fast) var(--ease-default),
        color var(--duration-fast) var(--ease-default);
    }
    .ask-ai-drop[data-open] .ask-ai-btn {
      opacity: 1; transform: none; filter: none;
      transition-delay:
        calc(var(--duration-stagger) * (4 + 2 * var(--i))),
        calc(var(--duration-stagger) * (4 + 2 * var(--i))),
        calc(var(--duration-stagger) * (4 + 2 * var(--i))),
        0s, 0s;
    }

    /* The glow behind the pill, spun slowly; the pill's glass blurs it into a
       soft wash with a little light at the rim. Placed and sized by the script. */
    .ask-ai-aura {
      position: fixed; top: 0; left: 0; z-index: var(--z-sticky);
      border-radius: var(--chip-radius); pointer-events: none;
      opacity: 0; visibility: hidden;
      transition: opacity var(--duration-moderate) var(--ease-default), visibility 0s var(--duration-moderate);
    }
    .ask-ai-aura::before {
      content: ""; position: absolute; inset: calc(-1 * var(--space-100)); border-radius: inherit;
      background: var(--ask-ai-spectrum);
      filter: blur(var(--space-300));
      animation: ask-ai-spin var(--fx-spectrum-spin) linear infinite;
    }
    .ask-ai-aura[data-open] {
      opacity: 0.7; visibility: visible;
      transition: opacity var(--duration-moderate) var(--ease-default) var(--duration-fast), visibility 0s 0s;
    }

    /* Reduced motion: the spectrum holds still; the durations and delays above
       are tokens, which already collapse to 1ms, so the pill simply appears.
       Script off takes the same rule, the loop's no-script twin: the ring and
       the aura only show once script opens them, so today this stills two
       unseen loops, and it keeps them still if either ever shows without it. */
    @media (prefers-reduced-motion: reduce), (scripting: none) {
      .ask-ai-ring, .ask-ai-aura::before { animation: none; --ask-ai-angle: 125deg; }
      .ask-ai-drop, .ask-ai-drop .ask-ai-btn { filter: none; }
    }
    /* Reduced transparency, or no blur at all: solid grounds, no glow. */
    @media (prefers-reduced-transparency: reduce) {
      .ask-ai-fab, .ask-ai-drop { background: var(--color-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
      .ask-ai-aura { display: none; }
    }
    @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
      .ask-ai-fab, .ask-ai-drop { background: var(--color-surface); }
      .ask-ai-aura { display: none; }
    }

    /* ================================================================
       TRY IT LIVE: ASK AI CARD (Nathan's picks, 2026-09-25; the video,
       2026-09-26). The "Ink plate": an inverse plate inside a content card,
       the Ask AI video playing the prompt being asked (it replaced the typing
       prompt), the five assistants as round tiles that turn white under the
       pointer, and the spectrum as a slowly drifting halo behind the plate
       with a faint light circling its edge; in light mode the halo is
       stronger and the spectrum also rims the plate (2026-09-28). The same five links as every
       other Ask AI home (CMP:ask-ai-card in tokens/components.manifest.js),
       so the prompt and the Google AI Mode slot can never drift. The card is
       solid: the glow is a layer behind it, never inside glass, and there is
       no backdrop-filter here.
       Static-complete: the prompt (sr-only) and all five tiles are in the
       markup, and the video's still stands in without script. The script
       beside the markup sets data-ax on the body (ready, then done once the
       plate is half on screen); only then do the tiles hold back for their
       arrival on the pill's spring and stagger step.
       Pauses with its section: the halo and the light read data-motion-paused
       on the enclosing motion region, the same hook as the marquees, and the
       region's toggle pauses the video, so the section's one
       .strip-motion-toggle stops all three (each runs past five seconds, WCAG
       2.2.2). The head reuses the section's shared card anatomy (.try-head,
       .try-title, .try-line).
       ================================================================ */
    .ask-ai-card { display: flex; flex-direction: column; gap: var(--space-500); min-width: 0; }
    .ask-ai-card-body {
      --ask-ai-card-fg: var(--color-on-ink-emphasis);
      --ask-ai-card-fg-2: var(--color-on-ink-secondary);
      position: relative; isolation: isolate;
      flex: 1 1 auto; display: flex; flex-direction: column;
      width: 100%; min-width: 0;
      /* A little more air under the intro than the card's own gap gives. */
      margin-top: var(--space-200);
      border-radius: var(--radius-lg);
      container: ask-ai-card / inline-size;
    }
    .ask-ai-card-plate {
      flex: 1 1 auto;
      display: flex; flex-direction: column; gap: var(--space-600);
      padding: var(--space-500);
      background: var(--color-surface-inverse);
      border: 1px solid var(--color-on-ink-border);
      border-radius: inherit;
      color: var(--ask-ai-card-fg);
    }
    @container ask-ai-card (max-width: 359.98px) {
      .ask-ai-card-plate { padding: var(--space-400); }
    }
    @container ask-ai-card (min-width: 560px) {
      .ask-ai-card-plate { padding: var(--space-600); }
    }

    /* The video is the hero, in a square slot where the prompt was (the
       approved look, _mockups/tryitlive/askai-video/watch.html). Stacked,
       under the section's 1200: a square as wide as the plate, capped at five
       full-size tiles (400px; no size token that large exists, so it is built
       from the tile's), centred in the plate's spare height. From 1200 the
       card stretches beside the Design system card, so the slot takes all the
       plate's spare height and the square is as tall as that, centred; the
       slot is a size container there, so the clip's own size never feeds the
       row's height. The clip's black decodes a shade darker than the plate's
       --color-surface-inverse (measured 3,6,5 against 10,10,11 in Chromium),
       which read as a dark square, so it blends with lighten: wherever the
       clip is darker than the plate the plate shows, and everything brighter
       (the marks, the words, the chat box) is untouched. The edges also fade
       in over 2% (a mask), so no hard edge shows either way. */
    .ask-ai-card-reel {
      --ask-ai-card-reel-max: calc(5 * var(--logo-tile-lg));
      position: relative;
      width: min(100%, var(--ask-ai-card-reel-max)); aspect-ratio: 1;
      margin: auto;
    }
    .ask-ai-card-reel :is(video, img) {
      position: absolute; inset: 0; margin: auto;
      display: block; width: 100%; height: 100%;
      object-fit: contain;
      mix-blend-mode: lighten;
      -webkit-mask-image:
        linear-gradient(to right, transparent, var(--color-static-white) 2%, var(--color-static-white) 98%, transparent),
        linear-gradient(to bottom, transparent, var(--color-static-white) 2%, var(--color-static-white) 98%, transparent);
      -webkit-mask-composite: source-in;
      mask-image:
        linear-gradient(to right, transparent, var(--color-static-white) 2%, var(--color-static-white) 98%, transparent),
        linear-gradient(to bottom, transparent, var(--color-static-white) 2%, var(--color-static-white) 98%, transparent);
      mask-composite: intersect;
    }
    @media (min-width: 1200px) {
      .try-grid > .ask-ai-card .ask-ai-card-reel {
        flex: 1 1 0; min-height: 0;
        width: 100%; aspect-ratio: auto; margin: 0;
        container-type: size;
      }
      .try-grid > .ask-ai-card .ask-ai-card-reel :is(video, img) {
        width: min(100cqi, 100cqb); height: min(100cqi, 100cqb);
      }
    }
    /* With scripting off the video never gets its file, so its still stands
       in (the noscript img above); the video steps aside, as the reel's does. */
    @media (scripting: none) {
      .ask-ai-card-reel .ask-ai-card-video { display: none; }
    }

    /* The halo: the spectrum behind the plate, blurred like the pill's aura,
       built on the layer that turns (the stops list is shared, the gradient is
       not, see --ask-ai-spectrum-stops). It fades in as the plate arrives and
       drifts, one turn every eight laps of the spectrum. */
    .ask-ai-card-glow {
      position: absolute; inset: calc(-1 * var(--ask-ai-card-glow-spread)); z-index: -1;
      border-radius: inherit; pointer-events: none;
      opacity: 0;
      transition: opacity var(--duration-moderate) var(--ease-default);
    }
    .ask-ai-card-glow::before {
      content: ""; position: absolute; inset: 0; border-radius: inherit;
      background: conic-gradient(from var(--ask-ai-angle), var(--ask-ai-spectrum-stops));
      filter: blur(var(--ask-ai-card-glow-blur)) saturate(var(--ask-ai-card-glow-saturate));
      animation: ask-ai-spin calc(var(--fx-spectrum-spin) * 8) linear infinite;
    }
    .ask-ai-card-body:not([data-ax="ready"]) .ask-ai-card-glow { opacity: var(--ask-ai-card-glow-alpha); }

    /* Light mode (his pick from the light-mode options page, 2026-09-28,
       "C, black + rim"): the plate stays ink, the halo comes in tighter and
       at full strength (on white the soft one read as a smudge), and the
       spectrum is traced round the plate's edge, 2px, turning with the halo
       (the same lap, so the two stay in step). Dark keeps the soft halo and
       no rim. The four halo values and the rim switch sit at :root and
       [data-theme], the house theme-invalidation pattern (as the device
       frames' addresses do), so a live toggle flips them. The rim is the
       plate's ::after, placed on the body (the plate is not positioned and
       fills the body), switched by its content: none in dark, an empty string
       in light. */
    /* stylelint-disable-next-line no-duplicate-selectors -- theme-invalidation pattern: the card's halo values sit at :root/[data-theme] beside their consumers */
    :root, [data-theme="light"] {
      --ask-ai-card-glow-spread: var(--space-100);
      --ask-ai-card-glow-blur: var(--space-400);
      --ask-ai-card-glow-saturate: var(--glass-saturate);
      --ask-ai-card-glow-alpha: 1;
      --ask-ai-card-rim: "";
    }
    /* stylelint-disable-next-line no-duplicate-selectors -- theme-invalidation pattern: the card's halo values sit at :root/[data-theme] beside their consumers */
    [data-theme="dark"] {
      --ask-ai-card-glow-spread: var(--space-50);
      --ask-ai-card-glow-blur: var(--space-300);
      --ask-ai-card-glow-saturate: 100%;
      --ask-ai-card-glow-alpha: var(--alpha-600);
      --ask-ai-card-rim: none;
    }
    /* No script sets no data-theme, so the OS setting decides. */
    @media (prefers-color-scheme: dark) {
      :root:not([data-theme="light"]) {
        --ask-ai-card-glow-spread: var(--space-50);
        --ask-ai-card-glow-blur: var(--space-300);
        --ask-ai-card-glow-saturate: 100%;
        --ask-ai-card-glow-alpha: var(--alpha-600);
        --ask-ai-card-rim: none;
      }
    }
    .ask-ai-card-plate::after {
      content: var(--ask-ai-card-rim);
      position: absolute; inset: -1px; z-index: 2; border-radius: inherit; pointer-events: none;
      padding: var(--space-50);
      background: conic-gradient(from var(--ask-ai-angle), var(--ask-ai-spectrum-stops));
      -webkit-mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      mask-clip: content-box, border-box;
      mask-composite: exclude;
      animation: ask-ai-spin calc(var(--fx-spectrum-spin) * 8) linear infinite;
    }

    /* The light: a faint arc in the plate's text colour circling the edge,
       every two laps of the spectrum, over the halo and the plate's border. */
    .ask-ai-card-lamp {
      position: absolute; inset: -1px; z-index: 1; border-radius: inherit; padding: var(--space-50); pointer-events: none;
      color: var(--color-on-ink-emphasis); opacity: var(--alpha-600);
      background: conic-gradient(from var(--ask-ai-angle), transparent 0deg 290deg, currentColor 345deg, transparent 360deg);
      -webkit-mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      -webkit-mask-clip: content-box, border-box;
      -webkit-mask-composite: xor;
      mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
      mask-clip: content-box, border-box;
      mask-composite: exclude;
      animation: ask-ai-spin calc(var(--fx-spectrum-spin) * 2) linear infinite;
    }
    .ask-ai-card-body[data-ax="ready"] .ask-ai-card-lamp { display: none; }

    /* The five tiles: round, sized to share the plate's width with four gaps,
       never under the 44px floor, the marks bright at 70% of the tile (the
       bar's masks are 18px, so the size is set here). */
    .ask-ai-card-marks {
      display: flex; justify-content: space-between; gap: var(--space-100);
      container-type: inline-size;
    }
    .ask-ai-card-tile {
      --ask-ai-card-tile: max(var(--touch-target-min), min(var(--logo-tile-lg), calc((100cqi - 4 * var(--space-300)) / 5)));
      position: relative; flex: none;
      width: var(--ask-ai-card-tile); height: var(--ask-ai-card-tile);
      display: grid; place-items: center;
      border: 1px solid var(--color-on-ink-border); border-radius: var(--btn-radius);
      color: var(--color-on-ink-emphasis);
      text-decoration: none;
      -webkit-tap-highlight-color: transparent;
      transition:
        opacity var(--duration-base) var(--ease-default),
        transform var(--duration-slow) var(--ease-spring),
        filter var(--duration-moderate) var(--ease-default),
        background-color var(--duration-fast) var(--ease-default),
        border-color var(--duration-fast) var(--ease-default),
        color var(--duration-fast) var(--ease-default);
    }
    .ask-ai-card-tile .ask-ai-mark, .ask-ai-card-tile img { display: block; width: 70%; height: 70%; object-fit: contain; }
    /* Under the pointer the tile inverts: on-ink white, the mark in ink; the
       colour marks stay in their colours. Focus keeps the house ring, lime on
       a dark surface. */
    @media (hover: hover) {
      .ask-ai-card-tile:hover { background-color: var(--color-on-ink-emphasis); color: var(--brand-ink); border-color: transparent; }
    }
    .ask-ai-card-tile:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); outline-color: var(--brand-primary); }
    .ask-ai-card-tile:active { background-color: var(--color-on-ink-emphasis); color: var(--brand-ink); border-color: transparent; }
    /* The tiles arrive one after another once the plate is half on screen, on
       the spring and the stagger step the Ask AI pill uses for the same five
       logos. */
    .ask-ai-card-body[data-ax="ready"] .ask-ai-card-tile {
      opacity: 0; transform: translateY(var(--space-200)) scale(0.6); filter: blur(var(--space-50));
    }
    .ask-ai-card-body[data-ax="done"] .ask-ai-card-tile {
      transition-delay:
        calc(var(--duration-stagger) * (4 + 2 * var(--i))),
        calc(var(--duration-stagger) * (4 + 2 * var(--i))),
        calc(var(--duration-stagger) * (4 + 2 * var(--i))),
        0s, 0s, 0s;
    }

    /* The section's pause: the region attribute the shared toggle handler
       sets. Written with the region in the selector so the rule outranks the
       animation shorthands above (the marquee trap, see .marquee-viewport). */
    [data-motion-region][data-motion-paused="1"] .ask-ai-card-glow::before,
    [data-motion-region][data-motion-paused="1"] .ask-ai-card-plate::after,
    [data-motion-region][data-motion-paused="1"] .ask-ai-card-lamp { animation-play-state: paused; }
    /* Reduced motion: no turn, no blur on the arrival; the spectrum holds at
       the same still angle the pill uses, and the video handler never starts
       the video (its poster, the whole prompt typed, is the still). Script
       off holds it the same way: the section's pause is script, so nothing
       could stop the halo and the light, and the body then carries no data-ax
       at all (the :not([data-ax]) line). */
    @media (prefers-reduced-motion: reduce), (scripting: none) {
      .ask-ai-card-body[data-ax] .ask-ai-card-glow::before,
      .ask-ai-card-body:not([data-ax]) .ask-ai-card-glow::before,
      .ask-ai-card-body .ask-ai-card-plate::after,
      .ask-ai-card-body .ask-ai-card-lamp { animation: none; --ask-ai-angle: 125deg; }
      .ask-ai-card-body .ask-ai-card-tile { filter: none; }
    }
    /* Reduced transparency: no glow (the rim is solid and stays). Forced
       colours: no glow, no rim, no light. */
    @media (prefers-reduced-transparency: reduce) {
      .ask-ai-card-glow { display: none; }
    }
    @media (forced-colors: active) {
      .ask-ai-card-glow, .ask-ai-card-lamp, .ask-ai-card-plate::after { display: none; }
    }


    /* ---- Mobile header: NN/g "partially persistent" (preset A) ----
       Reading down, the header slides away with the bar (content gets the screen);
       a few px of scroll-up brings it back. Desktop keeps the always-visible full-width
       bar (measured sticky-nav value). Guards: never while the nav drawer is open,
       never while the header holds focus, and reduced-motion users keep an always
       visible header (capability over choreography, the Material/TalkBack precedent).
       Known + accepted: this (0,5,1) rule outranks the "keep the header visible in the
       design-system view" assert earlier in this file, so on a phone the UTH view's
       header also hides on scroll-down. Scroll-up restores it instantly and the
       floating back chip stays available, so the exit is never lost. */
    @media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
      body.is-scrolled.scrolling-down:not(.drawer-open) .site-header-frosted:not(:focus-within) {
        transform: translateY(-110%);

      }
    }

    /* Footer CTA: built ON the shared .btn base (audit M-26: this was a full
       parallel button implementation that system-level button changes could
       not reach). Structure, target size, padding, and typography come from
       .btn in components.css; only the footer's ink-on-lime identity, the
       bespoke transition, the arrow micro-animation, and the chroma-glitch
       label live here, the same adaptation model as the .btn--icon row above.
       Colour states are asserted explicitly per the state-contrast rule. */
    [id="site-footer"] .cta-button {
      background: var(--brand-ink);
      color: var(--brand-primary);
      border-radius: var(--btn-radius);
      transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease;
      touch-action: manipulation;
      position: relative;
      isolation: isolate;
    }
    [id="site-footer"] .cta-button:hover { background: var(--brand-ink); color: var(--brand-primary); opacity: 0.92; }
    /* Only the LIFT is capability-gated. The colour and opacity change stays on
       every device: it is the tap feedback, and it does not displace anything. */
    @media (hover: hover) {
      [id="site-footer"] .cta-button:hover { transform: translateY(-1px); }
    }
    /* Ink focus ring on the lime slab, same adaptation as the icon row. */
    [id="site-footer"] .cta-button:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: var(--focus-ring-offset); }
    /* Press: opacity step past the hover; transform none so the press
       cannot jitter the glitch pseudo layers below. */
    [id="site-footer"] .cta-button:active { background: var(--brand-ink); color: var(--brand-primary); opacity: 0.85; transform: none; }
    [id="site-footer"] .cta-button svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    /* The glyph's motion is the component's (2026-09-06): the CTA carries the
       mail glyph, and every .btn wearing it shakes it once on hover or focus
       (components.css, "Mail glyph shake"). The arrow nudge that lived here
       was written for an arrow this button stopped carrying, and it went with
       its spring transition. */

    [id="site-footer"] .closer {
      grid-column: 1 / -1;
      /* The single source of the distance from the buttons to the dividing
         line, at every width: the grid's row gap is zero, so nothing adds to
         it. 32px is Nathan's, locked 2026-09-22 and deliberately NOT tied to
         --nm-gap, so opening the group spacing above never moves this line.
         (It was 8px here plus 10px of padding before that ruling.) */
      margin-top: 32px;  /* lint-ok: locked by ruling, not a scale step */
      padding-top: var(--space-250);
      /* Desktop inset: doubles the f-final horizontal padding so the
         divider line + copyright text sit inset from the right-side
         content above (which stays at f-final's default padding). */
      padding-left: clamp(var(--space-600), 5vw, 80px);
      padding-right: clamp(var(--space-600), 5vw, 80px);
      border-top: 1px solid rgb(var(--brand-ink-rgb) / var(--alpha-400));
      font-family: var(--font-mono);
      font-feature-settings: var(--font-feature-mono);
      font-size: var(--text-caption);
      letter-spacing: var(--tracking-label);
      /* The on-lime-muted token was the old 0.68 ink alpha baked solid (W55),
         tuned up from 0.6, which composited to ~4.3:1 on the lime slab, under
         the 4.5 AA floor for this 12px line (IBM Equal Access, 2026-07-12).
         Since 2026-10-25 (W62 I) it is lime.900, 10.12:1; lime.800 fails. */
      color: var(--color-on-primary-muted);
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: var(--space-250);
    }
    /* JetBrains Mono renders the copyright glyph small at body sizes
       (mono-grid constraint). Bumping just this glyph rebalances it. */
    [id="site-footer"] .closer .copy {
      font-size: 1.18em;
      line-height: 1;
      vertical-align: -0.04em;
      margin-right: var(--space-50);
      letter-spacing: var(--tracking-normal);
    }
    [id="site-footer"] .closer .locale {
      display: inline-flex;
      align-items: center;
      gap: var(--space-200);
    }
    [id="site-footer"] .closer .loc-icon {
      width: 13px;
      height: 13px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.6;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    /* Mobile: parallax reveals the footer all the way to the top of the screen
       (same as desktop). Single column, LEFT-aligned (Nathan's call).
       Closer row stays on a single row filling width via
       justify-content: space-between like the desktop closer. Wordmark
       is display: block to kill any inline-block whitespace indent. */
    @media (max-width: 767.98px) {
      /* Footer-bleed bugfix: keep the root canvas matching the page, never
         lime. A lime <html> canvas sat behind the ENTIRE page, so on fast
         momentum scroll (async tile paint) or iOS overscroll bounce the lime
         flashed through anywhere, even far from the footer. var(--color-bg)
         also flips correctly in dark mode (the old lime value did not).
         NO overscroll-behavior here: a belt-and-braces
         overscroll-behavior-y: none used to kill the bounce too, but it
         also disabled pull-to-refresh on the whole site (Nathan's report,
         2026-06-10, twice). The theme-correct canvas above already fixes
         what the bounce exposes, so the bounce (and pull-to-refresh) is
         allowed back. */
      html { background: var(--color-bg); }
      body.parallax-on main.parallax-host {
        margin-bottom: 100vh;
      }
      /* The fixed-footer rule needs no mobile copy: the top-level
         body.parallax-on rule already applies at every width (a byte-identical
         duplicate here was deleted 2026-07-10, audit M-14). */
      /* Footer-bleed fix (proper, #2): keep the fixed lime footer UNPAINTED
         until we are near the bottom. body[data-footer-near] is toggled ON
         ~0.2 screens early by the scroll listener in index.html (the same
         flag that hides the floating chip). With nothing painted behind the
         page during normal scroll, there is no lime layer left to bleed
         through on fast momentum scroll. margin-bottom stays constant so the
         document height never changes (no scroll jump); only paint toggles,
         and the flag fires before any footer pixel is uncovered so there is
         no pop. Mobile-only: desktop keeps its always-on behaviour. */
      /* opacity, NOT visibility (2026-07-26, caught by the screenreader
         gate's new 390px lane): visibility:hidden also deletes the footer
         from the accessibility tree, so a mobile screen-reader user had NO
         contentinfo landmark and no footer links in the rotor until a scroll
         event fired the reveal. opacity:0 paints nothing (the bleed fix
         needs only that) while keeping the landmark announced. The
         invisible-focus risk is theoretical: the footer is the LAST element
         in the DOM, so Tab reaching its links has already scrolled the page
         to the bottom, which flips data-footer-near before focus arrives. */
      body.parallax-on .footer-viewport { opacity: 0; }
      body.parallax-on[data-footer-near] .footer-viewport { opacity: 1; }
      [id="site-footer"] .f-final {
        grid-template-columns: 1fr;
        text-align: left;
        /* Mobile side gutter 16px (--space-400); bottom padding matched to it
           (was 28px) so the closer line sits the same distance from the bottom
           as from the sides. */
        padding: var(--space-800) var(--space-400) var(--space-400);
        /* column-gap, NOT the `gap` shorthand. As a shorthand this also reset
           row-gap back to 24px, quietly undoing the zero the base rule sets and
           putting 24px between the name and the line under it. */
        column-gap: var(--space-500);
      }
      [id="site-footer"] .wm-cell {
        justify-content: flex-start;
        /* Reset the desktop inset; mobile f-final padding handles the gutter. */
        padding-left: 0;
      }
      [id="site-footer"] .wm-cell img {
        width: clamp(220px, 70vw, 360px);
        display: block;
        margin-left: 0;
      }
      [id="site-footer"] .eyebrow .rotator { font-size: clamp(1rem, 5vw, 1.25rem); }  /* lint-ok: sized to the longest rotating title so the line does not jump */
      [id="site-footer"] .closer {
        justify-content: space-between;
        text-align: left;
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-250);
        /* Reset desktop inset on mobile; the parent f-final padding handles gutters. */
        padding-left: 0;
        padding-right: 0;
      }
    }

    /* Print: force the desktop two-column layout regardless of the
       print viewport width. Browsers render print at 595 to 816px
       which falls inside our mobile @media (max-width: 767.98px) rules,
       so without these overrides the printed footer would use the
       cramped mobile single-column layout. Each rule below uses
       !important to win against the mobile media query. */

    /* Reduced-motion: the mail shake's suppression lives in components.css. */

    /* When the parallax footer is in view (body[data-footer-near] set by
       scroll listener), hide the "How this was built" chip so it does not
       overlap the footer. Alpine animates the chip's opacity via WAAPI which
       beats CSS !important; we use visibility + scale (different properties)
       so Alpine can't override. */
    /* stylelint-disable-next-line no-duplicate-selectors -- deliberate locality: this transition pairs with the data-footer-near timing flip directly below */
    [x-data="floatingChip"] {
      transition: transform var(--duration-moderate) var(--ease-default),
                  visibility 0s 0s;
      transform-origin: bottom right;
    }
    body[data-footer-near] [x-data="floatingChip"] {
      visibility: hidden !important;
      pointer-events: none !important;
      transform: translateY(30px) scale(0.85) !important;
      transition: transform var(--duration-moderate) var(--ease-default),
                  visibility 0s var(--duration-moderate);
    }

/* ==========================================================================
   Site guide (Lumi on the home page), chat SITE GUIDE BUILD, step 5b, 15 Nov 2026.
   His locked picks from the site guide play page: it waits, travels, sits at its seat per
   section, speaks in the liquid bubble its own drawing makes (critter.js { bubble: true }),
   and its ways in grow out of it. Drawn by assets/site-guide.js; the ask field and the chat
   homes are chat parts, so they live in the chat kit block below as .ccs-ask-* and .ccs-home-*.
   Private to the site, as the kit is. No clip or hard edge on it: only the screen edge, a real
   card in front, or one soft fade may hide it.
   ========================================================================== */

/* Its reading clocks (spec-stages.md). These are behaviour, not look: how long a line stays
   before the next stage, read by the script. No timing token covers reading time.
   lint-ok: behaviour timings for site-guide.js; reading clocks, not motion tokens.
   The second group are rest values for the offsets the script writes on its parts. */
/* stylelint-disable-next-line no-duplicate-selectors -- its own clocks, kept beside the guide's rules rather than in the sheet's first :root */
:root {
  --sg-read-open: 2800ms;   /* lint-ok: a clock site-guide.js reads, not motion; the opener stays this long before the useful line (flow 1) */
  --sg-read-use: 3600ms;    /* lint-ok: a clock site-guide.js reads, not motion; the useful line, before the ways in (flow 1) */
  --sg-read-one: 1600ms;    /* lint-ok: a clock site-guide.js reads, not motion; opener and useful line together, before the ways in (flow 3) */
  --sg-read-end: 2600ms;    /* lint-ok: a clock site-guide.js reads, not motion; the last line, before the doze */
  --sg-idle: 9000ms;        /* lint-ok: a clock site-guide.js reads, not motion; ways in left alone this long: stage 4 */
  --sg-settle: 1400ms;      /* lint-ok: a clock site-guide.js reads, not motion; flow 2: scroll has been still this long, so the ways in come */
  --sg-stay: 5000ms;        /* lint-ok: a clock site-guide.js reads, not motion; flow 2: no scroll at all, so the useful line comes anyway */
  --sg-read-min: 1500ms;    /* lint-ok: a clock site-guide.js reads, not motion; round 4: every line stays at least this, plus the next token for each word */
  --sg-read-word: 450ms;    /* lint-ok: a clock site-guide.js reads, not motion; round 4: reading time for each word, slower than slow reading */
  --sg-leave: 1200ms;       /* lint-ok: a clock site-guide.js reads, not motion; round 4: buttons brought out by the pointer tuck away this long after it leaves */
  --sg-think: 900ms;        /* lint-ok: a clock site-guide.js reads, not motion; round 2: the thinking beat before a line */
  --sg-type: 26ms;          /* lint-ok: a clock site-guide.js reads, not motion; round 2: typed in, one letter */
  --sg-word: 70ms;          /* lint-ok: a clock site-guide.js reads, not motion; round 2: written in, one word */
  --sg-voice-fade: 400ms;   /* lint-ok: a clock site-guide.js reads, not motion; a sentence whose section is scrolled right past fades out this long (his pick 25 Nov 2026, chat NARRATOR SCROLL); its bubble's slow exit takes it too */
  --sg-answer-wait: 20000ms;   /* lint-ok: a clock site-guide.js reads, not motion; a chat answer not back by then is given up and Lumi's sorry line shows (note 2) */
  --sg-ox: 0px; --sg-oy: 0px; --sg-fade: 100%; --sg-dx: 0px; --sg-dy: 0px; --sg-vdx: 0px; --sg-vdy: 0px; --sg-i: 0;   /* rest values; site-guide.js writes the live ones on its parts */
  --ccs-home-i: 0;   /* the order the chat's parts grow in; the script sets each part's own */
}

/* ---- The character (from sgs.css) ------------------------------------------------------------- */
.sg-cv {
  position: absolute;
  left: 0;
  top: 0;
  /* A base size until the script places it (it then writes its real size inline). Without one a
     canvas takes its size from its own pixel count, and critter.js sets that count to size times
     the screen's sharpness: on a 2x or 3x phone, where it is never placed, the two fed each other
     every frame until the page was 33,554,432px tall (found 16 Nov 2026, the overflow gate stalled). */
  inline-size: var(--space-200);
  block-size: var(--space-200);
  display: block;
  pointer-events: none;
  z-index: 3;   /* the local layers: drawing and words 3, button and ways in 4; page order settles each pair. Waiting, all four share --z-dropdown */
  transition:
    transform var(--duration-slow) var(--ease-emphasized),
    opacity var(--duration-base) var(--ease-default);
}
.sg-cv[data-z="back"] { z-index: auto; }
.sg-cv[data-out] {
  opacity: 0;
  transform: translate(var(--sg-ox, 0), var(--sg-oy, 0));
  transition:
    transform var(--duration-base) var(--ease-exit),
    opacity var(--duration-fast) var(--ease-exit);
}
.sg-cv[data-fade] { -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0) calc(var(--sg-fade) - 16%), transparent var(--sg-fade)); mask-image: linear-gradient(to bottom, rgb(0 0 0) calc(var(--sg-fade) - 16%), transparent var(--sg-fade)); }

/* ---- Its words (from sgs.css). One bubble; the line inside it changes with the stage. ----------- */
.sg-say {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  margin: 0;
  box-sizing: border-box;
  inline-size: max-content;
  max-inline-size: 15em;
  padding: var(--space-300) var(--space-400);
  font-family: var(--font-body);
  font-size: var(--size-lg);
  font-weight: var(--weight-medium);
  line-height: 1.3;
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-primary);
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(var(--glass-tint-scrolled), var(--glass-tint-scrolled)) padding-box,
    linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom)) border-box;
  -webkit-backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate)) brightness(var(--glass-dim));
  backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate)) brightness(var(--glass-dim));
  box-shadow: var(--glass-specular), var(--glass-shadow);
  pointer-events: none;
  transition:
    transform var(--duration-moderate) var(--ease-emphasized),
    opacity var(--duration-base) var(--ease-entrance);
}
.sg-say[data-out] {
  opacity: 0;
  transform: translateY(var(--space-200));
  transition: opacity var(--duration-fast) var(--ease-exit), transform var(--duration-fast) var(--ease-exit);
}
/* One bubble shape (his words 21 Nov 2026, "There should be one speech bubble"): the plain box is the shared helper's
   (lumi-bubble.css .lumi-say[data-plain]), round at every corner and the same radius at every size, so no pointed tail
   corner and no larger radius on the large seat. data-tail still aims its ways row. */
.sg-say[data-size="lg"] { font-size: var(--size-xl); line-height: 1.2; max-inline-size: 16em; padding: var(--space-400) var(--space-500); }
.sg-line { margin: 0; text-wrap: balance; }
.sg-o { display: block; margin-block-end: var(--space-100); font-weight: var(--weight-regular); }
/* A hidden twin, used only to measure a line before it shows. */
.sg-say.sg-ghost { visibility: hidden; opacity: 1; transform: none; transition: none; pointer-events: none; z-index: -1; }

/* ---- The part you can tap ------------------------------------------------------------------------ */
.sg-hit {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sg-hit:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); }

/* ---- One glass recipe for every ways-in piece. His note: "an extension of him or at least in the same
   material". So these wear the clearer glass (from sgs.css, the clear bubble): the page shows through,
   a bright rim, a soft light inside the lower edge, like its body. Heavier frost keeps the words readable. */
.sg-g {
  box-sizing: border-box;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--sg-hov, transparent), var(--sg-hov, transparent)) padding-box,
    linear-gradient(var(--sg-tint, var(--glass-tint)), var(--sg-tint, var(--glass-tint))) padding-box,
    linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom)) border-box;
  -webkit-backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate)) brightness(var(--sg-dim, var(--glass-dim-scrolled)));
  backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate)) brightness(var(--sg-dim, var(--glass-dim-scrolled)));
  box-shadow: var(--glass-specular), inset 0 calc(-1 * var(--space-50)) var(--space-200) rgb(255 255 255 / var(--alpha-400)), var(--glass-shadow);
  color: var(--color-text-primary);
  /* At rest each piece sits back inside it, small and clear. It grows out to its place, nearest first. */
  opacity: 0;
  transform: translate(var(--sg-dx, 0), var(--sg-dy, 0)) scale(0.6);
  transition:
    opacity var(--duration-fast) var(--ease-exit),
    transform var(--duration-base) var(--ease-exit);
}
/* Dark theme: white words need darker glass under them on the lime section (measured 3.0 to 1 on the clear glass, 4.5 needed). */
/* stylelint-disable-next-line no-duplicate-selectors -- theme-invalidation pattern: the glass of its buttons flips at the theme root, beside its consumer above */
:root[data-theme="dark"] { --sg-tint: var(--glass-tint-strong); --sg-dim: var(--glass-dim); }
.sg-ways[data-on] .sg-g {
  opacity: 1;
  transform: none;
  transition:
    opacity var(--duration-base) var(--ease-entrance) calc(var(--sg-i, 0) * var(--duration-reveal-gap) / 2),
    transform var(--duration-moderate) var(--ease-emphasized) calc(var(--sg-i, 0) * var(--duration-reveal-gap) / 2);
}
.sg-ways[data-on] .sg-g:active { transform: scale(0.97); transition-duration: var(--duration-fast); transition-delay: 0s; }
@media (hover: hover) {
  .sg-chat:hover, .sg-fab:hover { --sg-hov: rgb(from var(--color-text-primary) r g b / var(--alpha-100)); }
}

/* The holder. Only a place: no transform and no fade, or the glass inside would lose its blur. */
.sg-ways {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: var(--space-200);
  inline-size: max-content;
  max-inline-size: calc(100vw - var(--space-500));
  margin: 0;
  font-family: var(--font-body);
  pointer-events: none;
}
.sg-ways[data-side="l"] { flex-direction: row-reverse; }
.sg-ways[data-on] > * { pointer-events: auto; }

/* Ways in 1: buttons that grow out of it. The chat one is a little larger and carries the hint words. */
.sg-chat {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-200);
  min-block-size: var(--space-700);
  margin: 0;
  padding: 0 var(--space-400) 0 var(--space-300);
  border-radius: var(--btn-radius);
  font: inherit;
  font-size: var(--size-base);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  letter-spacing: var(--tracking-normal);
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sg-chat svg { flex: none; inline-size: 1.25em; block-size: 1.25em; }
.sg-fab {
  position: relative;
  overflow: hidden;
  flex: none;
  display: grid;
  place-items: center;
  inline-size: var(--touch-target-min);
  block-size: var(--touch-target-min);
  margin: 0;
  padding: 0;
  border-radius: var(--btn-radius);
  font-size: var(--size-base);
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sg-fab svg, .sg-fab i { inline-size: 1.25em; block-size: 1.25em; display: block; }
.sg-fab--quiet { color: var(--color-text-secondary); }
/* A little of its colour inside each piece (his note: "maybe colour behind it"): the site's own Ask AI
   spectrum, very faint, under the words. It fades to nothing toward the far end. */
.sg-chat::before, .sg-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 200deg at 20% 130%, var(--ask-ai-spectrum-stops));
  opacity: var(--alpha-200);
  -webkit-mask-image: linear-gradient(100deg, rgb(0 0 0), transparent 85%);
  mask-image: linear-gradient(100deg, rgb(0 0 0), transparent 85%);
  pointer-events: none;
}
.sg-chat > *, .sg-fab > * { position: relative; }
.sg-say .sg-chat::before, .sg-say .sg-fab::before { content: none; }
.sg-chat:focus-visible, .sg-fab:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); }


/* Where it waits: fixed to the screen on --z-dropdown, the bottom edge blur's layer. It comes later in the page, so it
   paints over it; the phone's Ask AI bar (--z-sticky) stays over it, as before. */
.sg-cv[data-fixed], .sg-say[data-fixed], .sg-hit[data-fixed], .sg-ways[data-fixed] { position: fixed; z-index: var(--z-dropdown); }   /* one layer: no token sits between, so its words lie over its button here; they let taps through */
.sg-say .sg-ways[data-fixed] { position: static; }
.sg-cv[data-z="top"] { z-index: 4; }   /* its ask field or chat is open: it rides in it, over its glass (spec-ask.md) */
.sg-cv[data-z="top"] ~ :is(.sg-hit, .sg-ways, .ccs-home):not([data-fixed]) { z-index: 3; }   /* they step down one together, so it is the top layer and their own order holds */
.sg-cv[data-fixed][data-z="top"] { z-index: var(--z-sticky); }
.sg-cv[data-gone], .sg-say[data-gone], .sg-ways[data-gone] { visibility: hidden; }

/* ---- Phones, reader settings, print ------------------------------------------------------------------ */
@media (max-width: 767.98px) {
  .sg-say { font-size: var(--size-base); line-height: 1.3; max-inline-size: 11em; padding: var(--space-250) var(--space-300); }
  .sg-say[data-size="lg"] { font-size: var(--size-lg); max-inline-size: 12em; padding: var(--space-300) var(--space-400); border-radius: var(--radius-xl); }
  .sg-chat { font-size: var(--size-sm); padding-inline: var(--space-300); }
  .sg-chat svg { inline-size: var(--space-500); block-size: var(--space-500); }
}
/* The hello's bubble is solid (spec-pop-up.md, 18 Nov 2026): over the hero's phone picture the glass measured 2.24 to 1 (light)
   and 1.00 (dark) at its worst pixel; solid, it measures 4.5 or more (tests/spec-pop-up.mjs). The look Reduce transparency gives.
   :where() keeps it one class strong, so the forced-colors rule below still wins. */
.sg-say:where([data-solid]) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-surface); border-color: var(--color-border); }
@media (prefers-reduced-transparency: reduce) {
  .sg-say, .sg-g { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-surface); border-color: var(--color-border); }
}
/* stylelint-disable scale-unlimited/declaration-strict-value -- Canvas and CanvasText are the system colours forced-colors mode requires */
@media (forced-colors: active) {
  .sg-say, .sg-g { background: Canvas; color: CanvasText; border-color: CanvasText; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* stylelint-enable scale-unlimited/declaration-strict-value */
/* Reduce motion: nothing slides or grows. It rests, the useful line is there whole, the ways in are there. */
@media (prefers-reduced-motion: reduce) {
  .sg-cv, .sg-say, .sg-cv[data-out], .sg-say[data-out], .sg-say[data-out][data-slow], .sg-say[data-liquid="engine"][data-out][data-slow], .sg-g, .sg-ways[data-on] .sg-g { transition: none; }
  .sg-cv[data-out], .sg-say[data-out], .sg-g { transform: none; }
}
@media print { .sg-cv, .sg-say, .sg-hit, .sg-ways { display: none; } }


/* ==== Round 2 (his About note, 15 Nov) =============================================================== */

/* The bubble's type, option 2: his mono, a size smaller, so its voice reads apart from the buttons.
   No italic: neither face ships one and the site never fakes one (font-synthesis is off site-wide). */
.sg-say[data-font="mono"] { font-family: var(--font-mono); font-size: var(--size-base); letter-spacing: var(--tracking-mono); line-height: var(--line-snug); max-inline-size: 19em; }
.sg-say[data-font="mono"][data-size="lg"] { font-size: var(--size-lg); max-inline-size: 18em; }

/* How a line arrives. 1 the line fades in; 2 typed, the rest of the line is there but not yet shown;
   3 word by word. */
.sg-line[data-in] { animation: sg-in var(--duration-moderate) var(--ease-entrance) both; }
@keyframes sg-in { from { opacity: 0; } }
.sg-toff { opacity: 0; }
.sg-row { display: block; white-space: nowrap; }   /* one visual line of its own, held so a half-typed word cannot hop lines */
.sg-w { display: inline-block; opacity: 0; transform: translateY(var(--space-100)); animation: sg-word var(--duration-moderate) var(--ease-entrance) forwards; animation-delay: calc(var(--i) * var(--sg-word)); }
@keyframes sg-word { to { opacity: 1; transform: none; } }

/* Three thinking dots: the chat window's reply (the tour bubble has none since 25 Nov 2026, chat LUMI DOTS). */
.sg-dots { display: inline-flex; align-items: center; gap: var(--space-100); block-size: 1.3em; padding-inline: var(--space-50); vertical-align: top; }
.sg-dots i { inline-size: var(--space-200); block-size: var(--space-200); border-radius: var(--dot-radius); background: currentColor; opacity: var(--alpha-500); animation: sg-dot var(--sg-think) var(--ease-default) infinite; animation-delay: calc(var(--i) * var(--duration-fast)); }
@keyframes sg-dot { 30% { opacity: 1; transform: translateY(calc(var(--space-100) * -1)); } 60% { opacity: var(--alpha-500); transform: none; } }


/* The pointer (his note: only the hand over it; a larger area; no gap where the ribbon comes back).
   Its tap area reaches a little past it, and the row of buttons is one unbroken strip that also bridges
   the gap to it, so the pointer never falls through to the page between them. The site's cursor script is
   told to rest over these (its pause list, assets/cursor/cursor.js); here the hand wins over its kite. */
.sg-hit::before { content: ""; position: absolute; inset: calc(var(--space-300) * -1); border-radius: inherit; }
.sg-ways[data-on]::before { content: ""; position: absolute; inset-block: calc(var(--space-200) * -1); inset-inline-end: calc(var(--space-200) * -1); inset-inline-start: calc(var(--space-500) * -1); border-radius: var(--btn-radius); pointer-events: auto; cursor: pointer; }
.sg-ways[data-on][data-side="l"]::before { inset-inline-start: calc(var(--space-200) * -1); inset-inline-end: calc(var(--space-500) * -1); }
.sg-ways > * { position: relative; }
:root :is(.sg-hit, .sg-ways[data-on], .sg-ways[data-on] *) { cursor: pointer !important; }
:root .sg-hit::before, :root .sg-ways[data-on]::before { cursor: pointer !important; }

@media (max-width: 767.98px) {
  .sg-say[data-font="mono"] { font-size: var(--size-sm); max-inline-size: min(19em, 70vw); }   /* the locked bubble page's width (sgb.css) */
  .sg-say[data-font="mono"][data-size="lg"] { font-size: var(--size-base); max-inline-size: 15em; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-line[data-in], .sg-w, .sg-dots i { animation: none; }
  .sg-w, .sg-toff { opacity: 1; transform: none; }
}
@media (forced-colors: active) { .sg-say::before, .sg-say::after { content: none; } }

/* The three small buttons, split off round its far side (round 2, the side row). */
.sg-fabs { display: contents; }
.sg-ways[data-split] .sg-fabs { display: block; position: absolute; left: 0; top: 0; }
.sg-ways[data-split] .sg-fabs > * { position: absolute; }


/* ==== Travel (spec-travel.md, his picks 15 Nov: zoom, waiting spot, step aside), lifted from site-guide-travel/sgv.css. Review aids left out. */
/* In the air: one fixed layer over the page, moved by transform alone. */
.sg-cv[data-fly] {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  z-index: var(--z-dropdown);
  transition: none;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.sg-cv[data-snap] { transition: none; }

/* Out of the way, where it waits. */
.sg-cv[data-dodge], .sg-hit[data-dodge] {
  transition:
    transform var(--duration-moderate) var(--ease-default),
    opacity var(--duration-moderate) var(--ease-default);
}
.sg-cv[data-dodge="aside"], .sg-hit[data-dodge="aside"] { transform: translate(var(--sg-vdx, 0), var(--sg-vdy, 0)); }
.sg-cv[data-dodge="duck"] { transform: scale(0.5); transform-origin: 22% 78%; opacity: var(--alpha-600); }
.sg-cv[data-dodge="hide"] { opacity: 0; }
.sg-hit[data-dodge="duck"], .sg-hit[data-dodge="hide"] { visibility: hidden !important; }
.sg-say[data-dodge] { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .sg-cv[data-dodge], .sg-hit[data-dodge] { transition: none; }
}


/* ==== The liquid bubble (spec-bubble.md, his picks 15 Nov), from site-guide-bubble/sgb.css, renamed.
   Its own drawing draws the bubble; the words lose their own box and sit on it, as real text. */
.sg-say[data-liquid="engine"] {
  background: none;
  border-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  transform: none;
  transition: opacity var(--duration-fast) var(--ease-default);
}
.sg-say[data-liquid="engine"][data-out] { opacity: 0; transform: none; transition: opacity var(--duration-fast) var(--ease-exit); }
/* Mid-line, its words scroll away (data-slow, site-guide.js rest0): the bubble fades as slowly as its voice does when the page goes past (his pick 25 Nov 2026, chat NARRATOR SCROLL) */
.sg-say[data-out][data-slow] { transition: opacity var(--sg-voice-fade) var(--ease-exit), transform var(--sg-voice-fade) var(--ease-exit); }
.sg-say[data-liquid="engine"][data-out][data-slow] { transition: opacity var(--sg-voice-fade) var(--ease-exit); }
/* Its two inks, dark on light grounds and light on dark, live with the shared bubble's type in lumi-bubble.css. */
.sg-say[data-liquid="engine"][data-play] { pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
@media (prefers-reduced-motion: reduce) { .sg-say[data-liquid="engine"] { transition: none; } }

/* -----------------------------------------------------------------------------
   Chat window (the Lumi chat kit)
   ---
   .ccs                 the scene: a size container that holds the window and big Lumi; a host gives it a size
   .ccs-win             the glass window (glass tint, blur, specular, shadow, radius-xl)
   .ccs-ring            the spectrum ring round the window, shown while data-busy is on .ccs
   .ccs-head            the window's top row; holds the lockup
   .ccs-name            the lockup, a slot: <b>name</b><small>what it is for</small>
   .ccs-log             the messages, newest at the bottom, older ones fading off the top
   .ccs-msg             one message; .ccs-msg--bot (Lumi), --me (the visitor), --done (the last, bold, with .ccs-ok)
   .ccs-ok              the round tick beside a done message
   .ccs-av              Lumi's small canvas beside its own message
   .ccs-big             Lumi's large canvas behind (or, on the first screen, in front of) the window
   .ccs-hslot           the place big Lumi takes inside the window in the chat layout
   .ccs-hello           the opening: .ccs-bubble, then .ccs-faces of .ccs-face looks; .ccs-hello--gone folds it away
   .ccs-chips           one row of reply chips, .ccs-chip each
   .ccs-dots            the typing dots
   .ccs-ask-*           the field's parts, used inside the chat window: .ccs-ask-form, .ccs-ask-in, .ccs-ask-ib (send),
                        .ccs-ask-row (a question row), .ccs-ask-link; the ask field of their own was retired 25 Nov 2026
   .ccs-home            the site guide's chat window: .ccs-home-card, -top, -greet, -log, -msg, -next, -dots,
                        -mark, -reach, -foot, -grab; data-layout (stand), data-view (desk, phone)
   The chat window is built only while the page's chat switch is on (window.SG_CHAT,
   step 6 of the site guide plan); with it off they never reach the page. Unlike the window above
   they are interactive: before the switch goes on they start from a tested source (step 2b).
   Settings on .ccs: data-shape (wide or tall: where Lumi stands), data-lumi (behind, both or chat:
   Lumi behind the window, behind it and beside its messages, or inside it), data-busy (ring on),
   data-picked, data-snap, data-instant; --ccs-in (the window's inset), --ccs-top (big Lumi's
   first-screen move), --ccs-stops (the ring's colours, the six spectrum tokens).
   States: none a reader can reach. The window is a picture: its root is aria-hidden and nothing in
   it is focusable or clickable, so it has no hover, focus or disabled state. data-on and data-tap
   on a look or chip are the scene showing a tap.
   ----
   No tested source: this window is a picture, not interactive, so step 2b (start from a tested
   source) does not apply. Carbon's AI chat and Salesforce's chat blueprint are interactive chats
   (read 15 Nov 2026); USWDS and GOV.UK Frontend not checked. Logged in
   portfolio/docs/design-research/accessible-component-sources.md.
   Motion: the ring spins and the dots pulse. Reduce motion stills both, and a host stops them
   with data-motion-paused="1" (WCAG 2.2.2). Reduced transparency, or no backdrop-filter, turns
   the glass solid. Lumi is drawn by portfolio/assets/critter.js; the window never styles inside it.
   Private to the site (his pick 15 Nov 2026, "Private only"): this block stays in sections.css,
   which is not published, never in design-system/components.css. It is the one source:
   portfolio/scripts/sync-shared-lumi.mjs cuts it, from this header to the end of the file, into
   _mockups/_lib/ccs.css for review pages. Keep it last in this file, and the Top skills card's own
   hooks (.sc-card[data-k="chat"]) above it. Notes: portfolio/docs/design-research/lumi-chat-kit.md.
   ----------------------------------------------------------------------------- */
@property --ccs-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ccs-spin { to { --ccs-angle: 360deg; } }
/* Its own box: the window and Lumi are sized in cqw and cqh, so a host gives .ccs a size. :where()
   keeps this at zero weight, so a host's own rule wins whatever its order (the card's .scl sets
   position: absolute above this block). */
:where(.ccs) { position: relative; container-type: size; }
.ccs {
  --ccs-in: var(--space-300);
  --ccs-top: none; /* big Lumi's place on the first screen; skill-card-chat.js sets it */
  --ccs-stops: var(--fx-spectrum-1), var(--fx-spectrum-2), var(--fx-spectrum-3), var(--fx-spectrum-4), var(--fx-spectrum-5), var(--fx-spectrum-6), var(--fx-spectrum-1);
  font-size: var(--size-sm); line-height: var(--line-snug); color: var(--color-text-primary);
  transition: opacity var(--duration-fast) var(--ease-default);
}
.ccs[data-instant], .ccs[data-instant] * { transition: none !important; }

/* Lumi, large. Its canvas is wider than its body (the body is about 56% of it). */
/* A size before the scene picks its shape: with no CSS size the canvas takes its own
   pixel size, the resize doubles that each frame, and it grows to the browser's limit
   (seen under Reduce motion, before the card is scrolled to). */
.ccs-big { position: absolute; display: block; width: 0; height: 0; transform-origin: 50% 50%; transition: transform var(--duration-expressive) var(--ease-emphasized); }
.ccs-big[hidden] { display: none; }
.ccs[data-shape="wide"] .ccs-big { width: 104cqh; height: 104cqh; left: calc(72cqw - 52cqh); top: calc(50cqh - 52cqh); }
.ccs[data-shape="tall"] .ccs-big { width: 80cqw; height: 80cqw; left: calc(64cqw - 40cqw); top: calc(25cqh - 40cqw); }
/* On the first screen it stands in front of the window, big and centred over the greeting
   (skill-card-chat.js works out --ccs-top), then slides back to its place once the chat starts.
   Transform only; it settles, no bounce. data-snap puts it back in one step on replay. His pick
   12 Nov 2026, chat LUMI CARD. */
.ccs[data-snap] .ccs-big { transition: none; }
.ccs:not([data-lumi="chat"]):not([data-picked]) .ccs-big { z-index: 2; transform: var(--ccs-top); }
/* In the chat only: big in the window while it picks a look, then gone. */
.ccs[data-lumi="chat"] .ccs-hslot { display: block; width: min(30cqh, 30cqw); height: min(30cqh, 30cqw); margin: calc(-0.08 * min(30cqh, 30cqw)) auto calc(-0.12 * min(30cqh, 30cqw)); }
.ccs[data-lumi="chat"] .ccs-hslot .ccs-big { position: static; width: 100%; height: 100%; }
.ccs-hslot { display: none; }

/* The window: glass over the card, the width of the picture. */
.ccs-win {
  position: absolute; display: flex; flex-direction: column; gap: var(--space-200); padding: var(--space-200);
  background: var(--glass-tint-scrolled);
  -webkit-backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate));
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow), var(--glass-specular);
}
.ccs[data-shape="wide"] .ccs-win { inset: var(--ccs-in) var(--ccs-in) var(--ccs-in) 0; }
.ccs[data-shape="wide"][data-lumi="behind"] .ccs-win,
.ccs[data-shape="wide"][data-lumi="both"] .ccs-win { right: 40cqw; }
.ccs[data-shape="tall"] .ccs-win { inset: var(--ccs-in); }
.ccs[data-shape="tall"][data-lumi="behind"] .ccs-win,
.ccs[data-shape="tall"][data-lumi="both"] .ccs-win { top: 40cqh; }
/* The window is only as tall as the chat in it and grows up from the bottom as messages come in,
   so no empty band sits between the name and the chat (his pick 12 Nov 2026). */
.ccs[data-shape][data-lumi] .ccs-win { top: auto; max-height: calc(100% - 2 * var(--ccs-in)); }
.ccs[data-shape="tall"][data-lumi]:not([data-lumi="chat"]) .ccs-win { max-height: calc(100% - 40cqh - var(--ccs-in)); }
/* A narrow card (a 320 to 375 phone): the two line name takes the greeting's room, so the name
   steps down one size and the window may rise a little higher. */
@container (max-width: 350px) {
  .ccs[data-shape="tall"][data-lumi]:not([data-lumi="chat"]) .ccs-win { max-height: calc(100% - 30cqh - var(--ccs-in)); }
  .ccs .ccs-head { font-size: var(--size-lg); }
}
.ccs-ring {
  position: absolute; inset: 0; border-radius: inherit; padding: var(--space-50); pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--ccs-angle), var(--ccs-stops)); animation: ccs-spin var(--duration-expressive) linear infinite;
  -webkit-mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
  -webkit-mask-clip: content-box, border-box; -webkit-mask-composite: xor;
  mask-image: linear-gradient(var(--color-static-white) 0 0), linear-gradient(var(--color-static-white) 0 0);
  mask-clip: content-box, border-box; mask-composite: exclude;
  transition: opacity var(--duration-moderate) var(--ease-default);
}
.ccs[data-busy] .ccs-ring { opacity: 1; }
.ccs-head { display: flex; align-items: center; padding: var(--space-100) var(--space-300) 0; font-size: var(--size-xl); line-height: var(--line-heading); } /* lint-ok: the name's line height, tight on its two line lockup */
/* The clinic's lockup (clinic brand, Direction 1, locked 11 Nov): lumi in lower case Work Sans
   at 500 with tight tracking, IMAGING small in caps under it. His pick 12 Nov 2026. */
.ccs-name { display: inline-grid; gap: 0.32em; min-width: 0; padding-block: var(--space-50); font-family: var(--font-body); font-weight: 500; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; } /* lint-ok: the clinic wordmark's weight, tracking and gap */
.ccs-name b { font-weight: inherit; }
.ccs-name small { font-size: var(--size-2xs); font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; padding-left: 0.1em; } /* lint-ok: the clinic lockup's IMAGING tracking */

/* The messages: newest at the bottom, older ones fade off the top. */
.ccs-log {
  flex: 0 1 auto; min-height: 0; overflow: hidden; list-style: none; margin: 0; padding: var(--space-300);
  display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-200);
  background: color-mix(in srgb, var(--color-bg) 50%, var(--color-surface)); border-radius: var(--radius-lg);
  -webkit-mask-image: linear-gradient(transparent, var(--color-static-white) var(--space-600));
  mask-image: linear-gradient(transparent, var(--color-static-white) var(--space-600));
}
.ccs-msg { flex: none; max-width: 88%; text-wrap: pretty; transition: opacity var(--duration-base) var(--ease-default), translate var(--duration-moderate) var(--ease-emphasized); }
@starting-style { .ccs-msg { opacity: 0; translate: 0 var(--space-200); } }
.ccs-msg--bot { align-self: flex-start; display: flex; align-items: center; gap: var(--space-200); }
.ccs-msg--me { align-self: flex-end; padding: var(--space-100) var(--space-300); border-radius: var(--radius-lg); background: var(--color-text-primary); color: var(--color-bg); }
.ccs-msg--done { font-weight: var(--weight-semibold); }
.ccs-ok { flex: none; display: grid; place-items: center; width: var(--space-500); height: var(--space-500); border-radius: var(--dot-radius); background: var(--color-text-primary); color: var(--color-bg); }
.ccs-ok svg { width: 60%; height: 60%; }
/* Lumi beside its own message: the canvas is wider than the body, so it pulls in. */
.ccs-av { display: block; flex: none; width: var(--space-800); height: var(--space-800); margin: calc(-1 * var(--space-300)) calc(-1 * var(--space-300)) calc(-1 * var(--space-300)) calc(-1 * var(--space-400)); }
.ccs-av[hidden] { display: none; }

/* The opening: the bubble and the five looks, which fold away once one is picked. */
.ccs-hello { align-self: stretch; max-width: none; display: grid; justify-items: center; gap: var(--space-200); }
.ccs-hello--gone { display: none; }
.ccs-bubble { margin: 0; justify-self: center; padding: var(--space-100) var(--space-300); border-radius: var(--radius-lg); background: var(--glass-tint-scrolled); box-shadow: var(--glass-specular); font-weight: var(--weight-semibold); }
.ccs-faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-100); width: 100%; }
.ccs-face { display: grid; justify-items: center; gap: var(--space-50); padding: var(--space-100) 0; border-radius: var(--radius-lg); border: 1px solid transparent; transition: background var(--duration-fast) var(--ease-default), border-color var(--duration-fast) var(--ease-default), scale var(--duration-fast) var(--ease-default); }
.ccs-face img { width: min(var(--space-800), 12cqw); height: min(var(--space-800), 12cqw); margin: calc(-1 * var(--space-200)) 0 calc(-1 * var(--space-100)); display: block; }
.ccs-face[data-on] { background: var(--color-surface); border-color: var(--color-border-strong); }
.ccs-face[data-tap] { scale: 0.94; }

/* The buttons: one row, short words, so they never wrap. */
.ccs-chips:empty { display: none; }
.ccs-chips { display: flex; flex-wrap: nowrap; gap: var(--space-100); overflow: hidden; min-height: calc(var(--space-600) + var(--space-50)); padding-inline: var(--space-100); }
.ccs-chip { flex: none; display: inline-grid; place-items: center; padding: 0 var(--space-300); height: var(--space-600); border-radius: var(--chip-radius); border: 1px solid var(--color-border-strong); background: var(--color-surface); font: var(--weight-semibold) var(--size-xs)/1 var(--font-body); white-space: nowrap; transition: background var(--duration-fast) var(--ease-default), color var(--duration-fast) var(--ease-default), scale var(--duration-fast) var(--ease-default); }
.ccs-chip[data-tap] { background: var(--color-text-primary); color: var(--color-bg); border-color: transparent; scale: 0.94; }

.ccs-dots { display: inline-flex; gap: var(--space-100); align-items: center; min-height: 1.4em; padding-inline: var(--space-100); } /* lint-ok: one line of message text, so the typing dots hold a message's height; moved as it was from sections.css */
.ccs-dots i { width: var(--space-200); height: var(--space-200); border-radius: var(--dot-radius); background: var(--color-text-tertiary); animation: ccs-dot var(--duration-expressive) var(--ease-default) infinite; }
.ccs-dots i:nth-child(2) { animation-delay: calc(var(--duration-stagger) * 6); }
.ccs-dots i:nth-child(3) { animation-delay: calc(var(--duration-stagger) * 12); }
@keyframes ccs-dot { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }

/* Paused or Reduce motion: the last frame, nothing moving. A host pauses it the way every motion
   region on natemills.me does: data-motion-paused="1" on the window's root or any box round it. */
[data-motion-paused="1"] .ccs-ring, [data-motion-paused="1"] .ccs-dots i { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .ccs-ring, .ccs-dots i { animation: none; --ccs-angle: 125deg; }
  .ccs-msg { translate: none; }
  @starting-style { .ccs-msg { translate: none; } }
}
@media (prefers-reduced-transparency: reduce) {
  .ccs-win, .ccs-bubble { background: var(--color-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ccs-win { background: var(--color-surface); }
}

/* ---- The site guide's chat parts (chat SITE GUIDE BUILD, 15 Nov 2026): the field's parts (spec-ask.md) and the
   Ask AI chat (spec-homes.md). Run only while window.SG_CHAT is on (step 6). Its own ask field and the chat that grew
   under it were retired 25 Nov 2026 (his box answer "Retire it"): their rules went with them. ---- */
.ccs-ask-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-200);
  inline-size: 100%;
  min-block-size: calc(var(--space-700) + var(--space-200));
  margin: 0;
  padding-block: 0;
  padding-inline: var(--space-250) var(--space-200);
  border-radius: var(--btn-radius);
}
.ccs-ask-form:has(.ccs-ask-in:focus-visible) {
  outline: 1.5px solid var(--color-focus-ring); /* lint-ok: a hair under the 2px ring, full colour so it holds 3:1 on any ground (from sga.css) */
  outline-offset: 0;
}
.ccs-ask-in {
  flex: 1 1 auto;
  min-inline-size: 0;
  block-size: var(--touch-target-min);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  font-size: var(--size-base);
  font-weight: var(--weight-regular);
  line-height: 1.3;
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-primary);
  caret-color: var(--color-focus-ring);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.ccs-ask-in::placeholder { color: var(--color-text-secondary); opacity: 1; text-overflow: ellipsis; }
.ccs-ask-ib {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  inline-size: var(--space-600);
  block-size: var(--space-600);
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--btn-radius);
  background: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--duration-fast) var(--ease-default), color var(--duration-fast) var(--ease-default);
}
.ccs-ask-ib::after { content: ""; position: absolute; inset: calc(var(--space-100) * -1.5); border-radius: inherit; }
.ccs-ask-ib svg, .ccs-ask-ib i { inline-size: var(--space-400); block-size: var(--space-400); display: block; }
.ccs-ask-ib:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); }
@media (hover: hover) {
  .ccs-ask-ib:hover { background-color: rgb(from var(--color-text-primary) r g b / var(--alpha-200)); color: var(--color-text-primary); }
}
.ccs-ask-send svg { transform: rotate(-90deg); }
.ccs-ask-send[data-on], .ccs-ask-send[data-on]:hover { background-color: var(--color-accent); color: var(--color-on-accent); }
.ccs-ask-row {
  display: flex;
  align-items: center;
  gap: var(--space-300);
  inline-size: 100%;
  min-block-size: var(--touch-target-min);
  margin: 0;
  padding: 0 var(--space-300);
  border: 0;
  border-radius: var(--radius-lg);
  background: none;
  font: inherit;
  font-size: var(--size-xs);              /* his pick 15 Nov: the chat kit's chip type, extra small and semibold */
  font-weight: var(--weight-semibold);
  line-height: var(--line-title);
  text-align: start;
  color: var(--color-text-primary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--duration-fast) var(--ease-default);
}
@media (pointer: fine) { .ccs-ask-row { min-block-size: var(--btn-sm); } }   /* his note 15 Nov, "smaller takes up the same room": with a mouse the smaller words get the kit chip's height; a finger keeps the full target */
.ccs-ask-row svg, .ccs-ask-row i { flex: none; inline-size: var(--space-400); block-size: var(--space-400); color: var(--color-text-primary); }   /* the row mark takes the words' colour (his pick 16 Nov, spec-chat-tags.md "Row mark") */
.ccs-ask-row:focus-visible { outline: var(--border-focus); outline-offset: calc(var(--focus-ring-offset) * -1); }
@media (hover: hover) {
  .ccs-ask-row:hover { background-color: rgb(from var(--color-text-primary) r g b / var(--alpha-200)); }
}
/* The AI notice (site-guide.js, NOTE): one short line under Lumi's first answer in the chat. */
.ccs-home-note { flex: 1 1 100%; min-inline-size: 0; margin: 0; padding-block: var(--space-200); font-size: var(--size-xs); line-height: var(--line-title); color: var(--color-text-secondary); }
.ccs-home-note[hidden] { display: none; }
.ccs-ask-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-100);
  min-block-size: var(--touch-target-dot);
  font-size: var(--size-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.ccs-ask-link svg, .ccs-ask-link i { inline-size: var(--space-400); block-size: var(--space-400); }
.ccs-ask-link:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); border-radius: var(--radius-sm); }
.ccs-ask-ph { font-family: var(--font-mono); font-size: var(--size-2xs); letter-spacing: var(--tracking-mono); color: var(--color-text-secondary); }
.ccs-ask-sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


/* ==== The chat homes (chat SITE GUIDE HOMES, 15 Nov 2026) ===================================
   Where the chat lives after the first answer. One sheet of the site's glass holds it; nothing
   glass sits inside glass. Inside, only solid tints: the question in ink, the field a quiet
   capsule. Sizes, colours, radii and timings are tokens. */
.ccs-home-g {
  box-sizing: border-box;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--glass-tint-scrolled), var(--glass-tint-scrolled)) padding-box,
    linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom)) border-box;
  -webkit-backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate)) brightness(var(--glass-dim));
  backdrop-filter: blur(var(--glass-blur-webkit)) saturate(var(--glass-saturate)) brightness(var(--glass-dim));
  box-shadow: var(--glass-specular), var(--glass-shadow);
  /* It grows out of the field: from the field's corner, transform and opacity only. */
  opacity: 0;
  transform: scale(0.96);
  transform-origin: var(--ccs-home-to, left top);
  transition: opacity var(--duration-fast) var(--ease-exit), transform var(--duration-fast) var(--ease-exit);
}
.ccs-home[data-open].ccs-home-g,
.ccs-home[data-open] .ccs-home-g {
  opacity: 1;
  transform: none;
  transition: opacity var(--duration-base) var(--ease-entrance), transform var(--duration-moderate) var(--ease-emphasized);
}
/* Dark theme: its glass takes the site's strong tint (ink at 0.9; the kit's usual tint is 0.7). Measured 16 Nov 2026
   (WCAG 1.4.3 asks 4.5 to 1): with the usual tint, light things behind its glass (a white card, the hero's light, the
   lime footer) lifted the ground until its small grey words read as low as 2.49 to 1. The strong tint holds the ground
   dark enough over anything (worst 4.96). The light theme passes as it is (worst 8.03). His look: a row on the build page. */
[data-theme="dark"] .ccs-home-g {
  background:
    linear-gradient(var(--glass-tint-strong), var(--glass-tint-strong)) padding-box,
    linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom)) border-box;
}

.ccs-home {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: var(--space-200);
  border-radius: var(--radius-2xl);
  font-family: var(--font-body);
  color: var(--color-text-primary);
}
.ccs-home[hidden] { display: none; }
.ccs-home[data-fixed] { position: fixed; z-index: var(--z-dropdown); }
.ccs-home[data-anchor="ai"] { --ccs-home-to: right top; }   /* phone too: the Ask AI anchor always won over the phone corner, which only its own chat used */

.ccs-home-col { display: flex; flex-direction: column; flex: 1 1 auto; min-inline-size: 0; min-block-size: 0; gap: var(--space-200); }
.ccs-home-card { display: flex; flex-direction: column; flex: 1 1 auto; min-block-size: 0; }

/* The top row: its greeting where it is new to the place, and the cross. */
.ccs-home-top { display: flex; align-items: center; gap: var(--space-300); min-block-size: var(--space-600); padding: 0 0 0 var(--space-300); }
.ccs-home-greet { flex: 1 1 auto; margin: 0; font-size: var(--size-lg); font-weight: var(--weight-medium); line-height: var(--line-title); letter-spacing: var(--tracking-normal); text-wrap: balance; }
.ccs-home-x { margin-inline-start: auto; align-self: flex-start; }

/* Where it stands in the chat. Empty boxes: its canvas is placed over them, whole, never cut. */
.ccs-home-spot { display: none; flex: none; aspect-ratio: 1; pointer-events: none; }
.ccs-home-spot--top { inline-size: var(--space-1000); }
.ccs-home-spot--big { inline-size: min(100%, calc(var(--space-1200) + var(--space-600))); }
.ccs-home[data-layout="stand"][data-anchor="ai"] .ccs-home-spot--top,
.ccs-home[data-layout="stand"][data-view="phone"] .ccs-home-spot--top { display: block; }
.ccs-home[data-layout="side"] .ccs-home-spot--big { display: block; }

/* The thread. Its words sit straight on the glass; only the question is a bubble. */
.ccs-home-scroll { flex: 1 1 auto; min-block-size: 0; overflow-y: auto; overscroll-behavior: contain; }
.ccs-home-log {
  display: flex;
  flex-direction: column;
  gap: var(--space-300);
  margin: 0;
  padding: var(--space-300);
  list-style: none;
}
.ccs-home-log:empty { display: none; }
.ccs-home-msg { flex: none; margin: 0; transition: opacity var(--duration-base) var(--ease-entrance), translate var(--duration-moderate) var(--ease-emphasized); }
@starting-style { .ccs-home-msg { opacity: 0; translate: 0 var(--space-200); } }
.ccs-home-msg--me {
  align-self: flex-end;
  max-inline-size: 86%;
  padding: var(--space-200) var(--space-300);
  border-radius: var(--radius-lg);
  border-end-end-radius: var(--radius-sm);
  background: var(--color-text-primary);
  color: var(--color-bg);
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);
  line-height: 1.3;
}
.ccs-home-msg--bot { align-self: flex-start; max-inline-size: 94%; display: grid; gap: var(--space-200); justify-items: start; font-size: var(--size-base); line-height: var(--line-snug); text-wrap: pretty; }
.ccs-home-msg--bot p { margin: 0; }
.ccs-home-dots { padding-block: var(--space-200); }   /* the dots themselves are the speech bubble's own (.sg-dots, his note 2, 19 Nov 2026) */

/* What to ask next, then the two ways to reach him. */
.ccs-home-next { display: grid; gap: 0; padding: 0 var(--space-100) var(--space-100); }
.ccs-home-next:empty { display: none; }
.ccs-home-next > * { transition: opacity var(--duration-base) var(--ease-entrance) calc(var(--ccs-home-i, 0) * var(--duration-reveal-gap)), translate var(--duration-moderate) var(--ease-emphasized) calc(var(--ccs-home-i, 0) * var(--duration-reveal-gap)); }
@starting-style { .ccs-home-next > * { opacity: 0; translate: 0 var(--space-200); } }
.ccs-home-reach { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5em, 1fr)); gap: var(--space-200); padding: var(--space-200) var(--space-200) var(--space-100); }
.ccs-home-r {
  display: flex;
  align-items: center;
  gap: var(--space-200);
  min-block-size: var(--touch-target-min);
  padding: 0 var(--space-300);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  font-size: var(--size-sm);
  font-weight: var(--weight-medium);
  line-height: 1.2;
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--duration-fast) var(--ease-default);
}
.ccs-home-r > span:not(.ccs-home-li) { flex: 1 1 auto; min-inline-size: 0; }
.ccs-home-r svg, .ccs-home-r i { flex: none; inline-size: var(--space-400); block-size: var(--space-400); }
.ccs-home-r svg:last-child, .ccs-home-r i:last-child { color: var(--color-text-secondary); }
.ccs-home-li { flex: none; inline-size: var(--space-400); block-size: var(--space-400); background: currentColor; -webkit-mask: url("../../../assets/logos/linkedin-in.png") center / contain no-repeat; mask: url("../../../assets/logos/linkedin-in.png") center / contain no-repeat; }   /* LinkedIn's own mark, the file the site ships */
.ccs-home-r:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); }
@media (hover: hover) { .ccs-home-r:hover { background-color: rgb(from var(--color-text-primary) r g b / var(--alpha-100)); } }

/* The field inside the chat: the same field, now a quiet capsule on the glass. */
.ccs-home-form { flex: none; background: rgb(from var(--color-text-primary) r g b / var(--alpha-100)); padding-inline: var(--space-400) var(--space-200); }
.ccs-home .ccs-ask-in:focus, .ccs-home .ccs-ask-in:focus-visible { outline: none; box-shadow: none; }
.ccs-home[data-layout="stand"] .ccs-home-form { min-block-size: var(--space-700); }   /* the Ask AI typing box: 48 px row round the 44 px field, his pick 20 Nov 2026 (chat ASK FIELD) */

/* The last line: what is placeholder, and the five AI links, small with room round them. */
.ccs-home-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-100) var(--space-400); min-block-size: var(--space-600); padding: 0 var(--space-300); }
.ccs-home-ai { display: none; flex-wrap: wrap; align-items: center; justify-content: flex-end; min-inline-size: 0; gap: var(--space-100) var(--space-300); }
.ccs-home-ai-l { font-size: var(--size-xs); color: var(--color-text-secondary); white-space: nowrap; }
.ccs-home-marks { display: flex; align-items: center; gap: var(--space-200); }
.ccs-home-marks--in { display: none; gap: var(--space-100); }
.ccs-home-mark { position: relative; flex: none; display: grid; place-items: center; inline-size: var(--space-600); block-size: var(--space-600); border-radius: var(--dot-radius); color: var(--color-text-secondary); transition: background-color var(--duration-fast) var(--ease-default), color var(--duration-fast) var(--ease-default); }
.ccs-home-mark::after { content: ""; position: absolute; inset: calc(var(--space-100) * -1.5) calc(var(--space-100) * -1); }
.ccs-home-mark .ask-ai-mark { inline-size: var(--space-400); block-size: var(--space-400); }
.ccs-home-mark:focus-visible { outline: var(--border-focus); outline-offset: var(--focus-ring-offset); }
@media (hover: hover) { .ccs-home-mark:hover { background-color: rgb(from var(--color-text-primary) r g b / var(--alpha-200)); color: var(--color-text-primary); } }
.ccs-home[data-where="ai"] .ccs-home-ai { display: inline-flex; }

.ccs-home[data-layout="stand"] .ccs-home-stage { display: none; }

/* Shape: stand, the Ask AI window. */
.ccs-home[data-layout="stand"][data-anchor="ai"] .ccs-home-top { align-items: center; padding: var(--space-200) 0 0 var(--space-200); }

/* Shape: side (his 14 Nov lean), the hero window. It owns one half, whole; the words keep to the other. Its black twin, room, was never set by the script and was cut (19 Nov 2026). */
.ccs-home[data-layout="side"] { flex-direction: row; gap: var(--space-200); }
.ccs-home-stage { position: relative; flex: 0 0 46%; display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-block-size: calc(var(--space-1200) + var(--space-900)); padding: var(--space-400); border-radius: var(--radius-xl); }
.ccs-home-hook { display: none; margin: 0; font-size: var(--size-xl); font-weight: var(--weight-medium); line-height: var(--line-heading); letter-spacing: var(--tracking-normal); }
.ccs-home[data-layout="side"] .ccs-home-greet { display: none; }
.ccs-home[data-layout="side"] .ccs-home-hook { display: block; position: absolute; inset-inline-start: var(--space-400); inset-block-end: var(--space-400); }
/* Few words, set big: no bubbles here. The question is a quiet line, the answer is the first line. */
.ccs-home[data-layout="side"] .ccs-home-msg--me { align-self: flex-start; max-inline-size: none; padding: 0; background: none; color: var(--color-text-secondary); font-weight: var(--weight-regular); }
.ccs-home[data-layout="side"] .ccs-home-msg--bot { max-inline-size: none; font-size: var(--size-lg); font-weight: var(--weight-medium); line-height: 1.3; }
.ccs-home[data-layout="side"] .ccs-home-msg--me + .ccs-home-msg--bot { margin-block-start: calc(var(--space-200) * -1); }

/* Phones: every shape is a sheet two thirds tall (his round 1 pick), the page still showing above. */
.ccs-home[data-view="phone"] {
  inset: auto 0 0 0;
  block-size: 66dvh;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  padding-block-end: max(var(--space-300), env(safe-area-inset-bottom));
  flex-direction: column;
}
.ccs-home[data-view="phone"] .ccs-home-top { min-block-size: var(--touch-target-min); }
.ccs-home[data-view="phone"][data-layout="stand"] .ccs-home-spot--top { inline-size: calc(var(--space-800) + var(--space-200)); margin-block-start: calc(var(--space-700) * -1); }   /* 72: it stands on the sheet's top edge */
.ccs-home[data-view="phone"][data-layout="stand"] .ccs-home-greet { display: block; }
.ccs-home[data-view="phone"] .ccs-home-stage { align-items: center; flex: none; min-block-size: 0; justify-content: flex-start; gap: var(--space-300); padding: var(--space-200) var(--space-300); }
.ccs-home[data-view="phone"] .ccs-home-spot--big { inline-size: calc(var(--space-900) + var(--space-500)); }
.ccs-home[data-view="phone"] .ccs-home-hook { position: static; text-wrap: balance; }
.ccs-home[data-view="phone"][data-layout="side"] .ccs-home-top { position: absolute; inset-block-start: var(--space-200); inset-inline-end: var(--space-200); z-index: 1; }
.ccs-home[data-view="phone"][data-layout="side"] .ccs-home-greet { display: none; }
html[data-ccs-home-open] .ask-ai-bar, html[data-ccs-home-open] .fab-chip { opacity: 0; pointer-events: none; transition: opacity var(--duration-fast) var(--ease-exit); }
@media (min-width: 768px) { html[data-ccs-home-open] .fab-chip { opacity: 1; pointer-events: auto; } }

/* The phone's door to the chat (his picks 22 Nov 2026, chat MOBILE ASK AI, review page mobile-ask-door: "round button,
   bottom left", glass). Markup: CMP:ask-ai-bar. It shows under 34em once the chat is on, and the strip above stands down:
   its five links sit in the chat's foot. Level with the "How this was built" chip in the other corner, and it rests the
   way the chip does: unseen over the hero and by the footer, still in the Tab order there (it shows on focus, as the strip
   did), and out of the way while the chat or the menu is open. The edge needs no 3:1: the glyph names the control
   (WCAG 1.4.11, as .btn--icon says). Hover, focus and press are the round icon button's own. */
.ask-ai-door { display: none; }
@media (max-width: 33.99875em) {
  html[data-ccs-home-ai="on"] .ask-ai-bar { display: none; }
  html[data-ccs-home-ai="on"] .ask-ai-door {
    display: block; position: fixed; z-index: var(--z-sticky);
    inset-inline-start: max(var(--space-400), env(safe-area-inset-left));
    inset-block-end: max(var(--space-400), env(safe-area-inset-bottom));
    transition: opacity var(--duration-fast) var(--ease-default), transform var(--duration-moderate) var(--ease-default);
  }
  .ask-ai-door-btn {
    inline-size: 46px; block-size: 46px; /* lint-ok: the chip's own height (36 disc, 4 padding each side, 1 edge each side), so the two corners read as a pair */
    background: var(--glass-tint-strong); border-color: var(--color-border); color: var(--color-text-primary);
    box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur-webkit); backdrop-filter: var(--glass-blur);
  }
  /* The bubble fills about half the circle (his pick 23 Nov 2026, chat ASK AI ICON, review page ask-ai-icon: 5 of 5),
     up from the 16 px button glyph that read too small on a phone. */
  .ask-ai-door-btn i, .ask-ai-door-btn svg { width: var(--size-xl); height: var(--size-xl); }
  #floating-chip[inert] ~ .ask-ai-door:not(:focus-within), body[data-footer-near] .ask-ai-door:not(:focus-within) { opacity: 0; pointer-events: none; transform: translateY(var(--space-300)); }
  html[data-ccs-home-open] .ask-ai-door, body.drawer-open .ask-ai-door { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(var(--space-300)); transition: opacity var(--duration-fast) var(--ease-exit), transform var(--duration-fast) var(--ease-exit), visibility 0s var(--duration-fast); }
}
/* The chip shares the bottom edge with the door now: it never grows into the door's corner, even at large text, where its
   title wraps instead. 46 is the door, then a gap the same as each screen edge. */
@media (max-width: 33.99875em) {
  html[data-ccs-home-ai="on"] .fab-chip { max-width: calc(100vw - 46px - var(--space-400) * 3); } /* lint-ok: 46 is the door's size, set above */
}
/* Lumi's sound button (site-guide.js, his picks sent with no note 23 Nov 2026, chat LUMI SOUND ICON, review page
   lumi-sound-button): the Ask AI door's twin on computers, bottom left, 46px glass, 16px from each edge. It rests the way the
   door does: unseen over the hero (the hero's LinkedIn and GitHub links sit in that corner) and by the footer, still in the
   Tab order there and shown on focus, and out of the way while the chat or the menu is open. Phones get no button (his pick).
   Five bars that move with Lumi's sound (their heights come from site-guide.js as --sg-snd-h); off, and before the first
   tap, they give way to the chat Sound switch's mute icon. Hover, focus and press are the round icon button's own. The edge
   needs no 3:1: the glyph names the control (WCAG 1.4.11, as .btn--icon says). */
.sg-snd {
  position: fixed; z-index: var(--z-sticky);
  inset-inline-start: max(var(--space-400), env(safe-area-inset-left));
  inset-block-end: max(var(--space-400), env(safe-area-inset-bottom));
  transition: opacity var(--duration-fast) var(--ease-default), transform var(--duration-moderate) var(--ease-default);
}
.sg-snd[hidden] { display: none; }
.sg-snd-btn {
  inline-size: 46px; block-size: 46px; /* lint-ok: the Ask AI door's size, so the site has one round button */
  background: var(--glass-tint-strong); border-color: var(--color-border); color: var(--color-text-primary);
  box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur-webkit); backdrop-filter: var(--glass-blur);
}
.sg-snd-bars { display: flex; align-items: flex-end; justify-content: center; gap: calc(var(--space-50) * 1.5); block-size: var(--space-400); }
.sg-snd-bars > i { --sg-snd-h: 0.5; inline-size: var(--space-50); block-size: 100%; background: currentColor; transform-origin: 50% 100%; transform: scaleY(var(--sg-snd-h)); transition: transform calc(var(--duration-fast) * 0.6) var(--ease-default); }
.sg-snd-off { display: none; inline-size: 1.25em; block-size: 1.25em; background: currentColor; -webkit-mask: var(--ccs-i-mute) center / contain no-repeat; mask: var(--ccs-i-mute) center / contain no-repeat; }
.sg-snd[data-st="off"] .sg-snd-bars { display: none; }
.sg-snd[data-st="off"] .sg-snd-off { display: block; }
#floating-chip[inert] ~ .sg-snd:not(:focus-within), body[data-footer-near] .sg-snd:not(:focus-within) { opacity: 0; pointer-events: none; transform: translateY(var(--space-300)); }
html[data-ccs-home-open] .sg-snd, body.drawer-open .sg-snd { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(var(--space-300)); transition: opacity var(--duration-fast) var(--ease-exit), transform var(--duration-fast) var(--ease-exit), visibility 0s var(--duration-fast); }
@media (max-width: 767.98px) { .sg-snd { display: none; } }
@media (prefers-reduced-transparency: reduce) { .sg-snd-btn { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-surface); } }
@media print { .sg-snd { display: none; } }
@media (prefers-reduced-transparency: reduce) { .ask-ai-door-btn { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-surface); } }

@media (prefers-reduced-motion: reduce) {
  .ccs-home-g, .ccs-home-msg, .ccs-home-next > * { transition: none; }
}
@media (prefers-reduced-transparency: reduce) { .ccs-home-g { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-surface); border-color: var(--color-border); } }
/* stylelint-disable scale-unlimited/declaration-strict-value -- Canvas and CanvasText are the system colours forced-colors mode requires */
@media (forced-colors: active) { .ccs-home-g { background: Canvas; color: CanvasText; border-color: CanvasText; -webkit-backdrop-filter: none; backdrop-filter: none; } }
/* stylelint-enable scale-unlimited/declaration-strict-value */
@media print { .ccs-home, .ask-ai-door { display: none; } }

/* While the guide's chat is open inside Ask AI, the site's own five-link pill stands down; its colour ring on the button stays. */
html[data-ccs-home-open="ai"] #ask-ai-drop, html[data-ccs-home-open="ai"] #ask-ai-aura { display: none; }

/* Phones: the sheet sits over the page's own floating labels; it still stands on its edge. */
.ccs-home[data-view="phone"][data-fixed] { z-index: var(--z-sticky); }
/* It peeks out from behind the sheet's top edge (his note 22 Nov 2026, chat MOBILE ASK AI: "lumi character behind the
   sheet, peeking out"). Phones only: on a computer it stays clear of the window (21 Nov). Above the page, under the sheet. */
html[data-ccs-home-open][data-ccs-home-view="phone"] .sg-cv[data-fixed][data-z], html[data-ccs-home-open][data-ccs-home-view="phone"] .sg-cv[data-fixed], html[data-ccs-home-open][data-ccs-home-view="phone"] .sg-hit[data-fixed] { z-index: var(--z-dropdown); }   /* the layer under the sheet (--z-sticky); [data-z] outranks the Ask AI window rule below, which sets it over a computer's window */

/* Phones: the thread sits by the field, as chats do, so no empty band opens between the answer and the field. */
.ccs-home[data-view="phone"] .ccs-home-scroll { display: flex; flex-direction: column; }
.ccs-home[data-view="phone"] .ccs-home-log { margin-block-start: auto; }
html[data-ccs-home-open][data-ccs-home-view="phone"] .ask-ai-bar { visibility: hidden; }   /* the site's own Ask AI strip never shows through the field */
.ccs-home-foot .ccs-ask-ph { font-size: var(--size-xs); }

/* It sits whole inside the stage, never across its edge. On phones the stage is one tight band, so the thread keeps its room. */
.ccs-home[data-view="phone"][data-layout="side"] .ccs-home-spot--big { inline-size: var(--space-900); }


/* The Ask AI chat, tightened (his pick 16 Nov 2026, chat LUMI CHAT WINDOW, "One line"): small Lumi and a
   smaller greeting share one line top left; the cross is an outlined circle the same distance from both
   edges of the corner; the notice is a small line under the field; on a phone the sheet is only as tall
   as what is in it. The note, the "Or ask another AI" label and the field's hint take the primary text
   colour: in the secondary colour they measured 2.2 to 2.4 to 1 on the dark glass (WCAG 1.4.3 asks 4.5);
   now 5.1 or better at every ground the page scrolls behind it, both themes. */
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-top { min-block-size: var(--space-700); gap: var(--space-400); padding: 0 var(--space-700) 0 var(--space-200); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-spot--top { inline-size: var(--space-700); margin: 0; }
/* TAP HOME (his Send, 25 Nov 2026, review page lumi-tap-home, typing = side): on the first key Lumi steps out beside the
   window (site-guide.js homeLumi) and its top spot closes, gap and all, so the words slide left. */
.ccs-home[data-where="ai"] .ccs-home-spot--top { transition: inline-size var(--duration-flourish) var(--ease-emphasized), margin var(--duration-flourish) var(--ease-emphasized); }
.ccs-home[data-layout="stand"][data-where="ai"][data-typing][data-view] .ccs-home-spot--top { inline-size: 0; margin-inline-end: calc(var(--space-400) * -1); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-greet { font-size: var(--size-base); text-wrap: pretty; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-x { position: absolute; z-index: 1; margin: 0; inset-block-start: var(--space-400); inset-inline-end: var(--space-400); border: 1px solid rgb(from var(--color-text-primary) r g b / var(--alpha-500)); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-foot { min-block-size: var(--space-600); }

/* A thin line above the foot (his pick 16 Nov 2026, chat LUMI CHAT TAGS, "today's rows plus the line"): Lumi's answer
   and its one next question above it; the foot below. Every shape of the chat. */
.ccs-home .ccs-home-foot { margin: var(--space-100) var(--space-300) 0; padding-inline: 0; border-block-start: 1px solid rgb(from var(--color-text-primary) r g b / var(--alpha-400)); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-ai { justify-content: flex-start; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-note { flex: none; padding: 0 var(--space-300); font-size: var(--size-xs); text-align: center; }   /* 12 px, his "type a step up" pick 21 Nov 2026 (was 11) */
.ccs-home[data-layout="stand"][data-where="ai"][data-view] :is(.ccs-home-note, .ccs-home-ai-l) { color: var(--color-text-primary); }
/* The field's words before a question fade back (his words 26 Nov 2026, chat ASK AI POLISH: "it should be more faded"),
   a step in from the cursor so the cursor never touches the A ("there should be a little bit of a space"). text-indent
   moves the placeholder only; the cursor stays at the start of the field. */
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-ask-in::placeholder { color: var(--color-text-secondary); text-indent: var(--space-50); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view="phone"] { block-size: auto; max-block-size: 66dvh; padding-block-start: var(--space-500); }   /* the top padding is the grab bar's strip (below) */
/* The phone sheet, his note on his pick 22 Nov 2026 (chat MOBILE ASK AI, review page mobile-ask-door): "add the grabber but
   not clashing with chat area. and no close icon tap outside or swipe the window/sheet to close. lumi character behind
   the sheet, peeking out". The grab bar has its own strip above the field; a tap or a drag up makes the sheet tall
   (data-tall), a drag or swipe down makes it short again or closes it (assets/site-guide.js, grabSheet). Tall leaves room
   above it for Lumi's peek. The cross stays for a keyboard and a screen reader and shows only when it has focus; NN/g
   (Bottom Sheets, 2023) asks for a visible close too, and the tap outside and the swipe are the touch ones. */
.ccs-home[data-layout="stand"][data-where="ai"][data-view="phone"][data-tall] { block-size: calc(100dvh - var(--space-900)); max-block-size: calc(100dvh - var(--space-900)); }
.ccs-home[data-drag] { transition: none; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view="phone"] .ccs-home-top { padding-inline-end: var(--space-200); }   /* no cross to keep room for: the field takes the width */
.ccs-home[data-layout="stand"][data-where="ai"][data-view="phone"] .ccs-home-top:has(.ccs-home-x:focus-visible) { padding-inline-end: var(--space-700); }   /* the cross shows on focus: the field steps back so it covers nothing (2.4.11) */
.ccs-home-grab { display: none; }
.ccs-home[data-where="ai"][data-view="phone"] .ccs-home-grab { position: absolute; inset-block-start: 0; inset-inline: 0; z-index: 2; display: grid; place-items: center; block-size: var(--space-500); padding: 0; border: 0; background: none; color: inherit; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.ccs-home-grab::before { content: ""; inline-size: var(--space-600); block-size: var(--space-100); border-radius: var(--chip-radius); background: var(--color-text-tertiary); }
.ccs-home-grab:focus-visible { outline: var(--border-focus); outline-offset: calc(var(--space-100) * -1); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view="phone"] .ccs-home-x:not(:focus-visible) { position: absolute; inline-size: 1px; block-size: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view="phone"] .ccs-home-spot--top { position: absolute; inset-block-start: 0; inset-inline-start: var(--space-500); inline-size: calc(var(--space-800) + var(--space-200)); block-size: var(--space-500); aspect-ratio: auto; margin: 0; }   /* Lumi stands on this strip's bottom edge (site-guide.js homeLumi): 72 wide, so 48 of it peeks above the sheet; the strip itself stays inside the sheet */
/* stylelint-disable scale-unlimited/declaration-strict-value -- CanvasText is the system colour forced-colors mode requires */
@media (forced-colors: active) { .ccs-home-grab::before { background: CanvasText; } }
/* stylelint-enable scale-unlimited/declaration-strict-value */

/* Ask AI window, his picks 21 Nov 2026 (chat ASK AI MOCKUPS, review page ask-ai-mockups, sent with no note).
   1. The field sits on top beside Lumi, the greeting greyed in it, until the first question; then it drops under the
      newest message (site-guide.js aiField). 2. No cross on a computer: a click outside, Tab past the end or Escape
      closes it; a phone keeps the cross (no Escape key there). 3. The notice sits under Lumi's first answer and scrolls
      up with the chat. 4. A light 1 px line round the field at rest; typing shows the 2 px focus ring (WCAG 2.4.13).
      5. Type a step up: questions and "Or ask another AI" 14 px, the notice 12 px, both messages 16 px. */
.ccs-home[data-where="ai"][data-ask-top] .ccs-home-top .ccs-home-greet { display: none; }
.ccs-home[data-where="ai"][data-ask-top] .ccs-home-top .ccs-home-form { flex: 1 1 auto; min-inline-size: 0; }
.ccs-home[data-layout="stand"][data-where="ai"][data-ask-top][data-view] .ccs-home-top { padding-block-start: var(--space-200); }
.ccs-home[data-layout="stand"][data-where="ai"][data-ask-top][data-view="phone"] .ccs-home-x { inset-block-start: var(--space-500); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view="desk"] .ccs-home-x { display: none; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view="desk"] .ccs-home-top { padding-inline-end: var(--space-400); }
.ccs-home[data-layout="stand"][data-where="ai"][data-ask-top][data-view="desk"] .ccs-home-top { padding-inline-end: var(--space-200); }
.ccs-home-lognote { list-style: none; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-lognote .ccs-home-note { justify-content: flex-start; padding: 0 var(--space-100); text-align: start; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-form { box-shadow: inset 0 0 0 1px rgb(from var(--color-text-primary) r g b / var(--alpha-300)); }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-form:has(.ccs-ask-in:focus) { box-shadow: none; }
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-form:has(.ccs-ask-in:focus-visible) { outline: var(--border-focus); outline-offset: calc(var(--focus-ring-offset) * -1); }
.ccs-home[data-where="ai"] .ccs-ask-row { font-size: var(--size-sm); font-weight: var(--weight-medium); }
.ccs-home[data-where="ai"] .ccs-home-ai-l { font-size: var(--size-sm); }
.ccs-home[data-where="ai"] .ccs-home-msg { font-size: var(--size-base); }


/* Chat windows v2 (his picks 18 Nov 2026 on the review page lumi-chat-window-v2, spec-chat-window-v2.md).
   1. Retired 25 Nov 2026: the Sound and Send Lumi away switches are gone (chat SEND LUMI AWAY; Sound is the round
      button in the bottom-left corner). */
/* 2. The notice with an icon (Lucide info, ISC licence, drawn as a mask); volume-x is the sound button's off icon
      (.sg-snd-off). */
/* stylelint-disable-next-line no-duplicate-selectors -- chat windows v2 keeps its icon masks beside the rules that use them */
:root {
  --ccs-i-mute: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z'/%3E%3Cline x1='22' x2='16' y1='9' y2='15'/%3E%3Cline x1='16' x2='22' y1='9' y2='15'/%3E%3C/svg%3E");
  --ccs-i-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4'/%3E%3Cpath d='M12 8h.01'/%3E%3C/svg%3E");
}
.ccs-home-note::before {
  content: ""; flex: none; inline-size: var(--space-300); block-size: var(--space-300); background: currentColor;
  -webkit-mask: var(--ccs-i-info) center / contain no-repeat; mask: var(--ccs-i-info) center / contain no-repeat;
}
.ccs-home-note:not([hidden]) { display: flex; align-items: center; gap: var(--space-100); }
@media (forced-colors: active) { .ccs-home-note::before { background: CanvasText; } }
/* 3. "Or ask another AI": the real marks at full strength, Claude and Google in their own colours (the site's
      claude-colour.svg and gemini-colour.svg); ChatGPT, Perplexity and Grok are black and white brands. Never grey. */
/* stylelint-disable-next-line no-duplicate-selectors -- chat windows v2: the marks at full strength, beside the colour logo rules */
.ccs-home-mark { color: var(--color-text-primary); }
.ccs-home-mark :is(.ask-ai-mark--claude, .ask-ai-mark--gemini) { -webkit-mask: none; mask: none; background: none center / contain no-repeat; }
.ccs-home-mark .ask-ai-mark--claude { background-image: url("../../../assets/logos/claude-colour.svg"); }
.ccs-home-mark .ask-ai-mark--gemini { background-image: url("../../../assets/logos/gemini-colour.svg"); }
/* 4. The colour glow (his pick 18 Nov, option 3 with his note "it should only come on I guess when it replies and then
      goes away"): the Top skills chat card's own halo (work/lumi/card.html, .d-journey .halo), copied as it is. Two layers
      of the spectrum behind the window, a tight one (2 px out, 8 px blur, 70 percent) and a wide one (12 px out, 24 px blur,
      50 percent), at 60 percent overall, one turn every five laps of the spectrum, over a solid plate so the colour never
      shows through the glass. It shows while Lumi replies (data-busy, from the question to the last word) and fades out. */
@property --ccs-halo-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ccs-halo-spin { to { --ccs-halo-angle: 360deg; } }
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern: a theme-varying custom property must be declared on each theme selector, not once at :root */
:root { --ccs-plate: var(--color-static-white); }
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern, as above */
[data-theme="light"] { --ccs-plate: var(--color-static-white); }
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern, as above */
[data-theme="dark"] { --ccs-plate: var(--brand-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ccs-plate: var(--brand-ink); } }
.ccs-halo { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.ccs-halo i { position: absolute; border-radius: inherit; opacity: calc(var(--ccs-glow-on, 0) * var(--alpha-600) * var(--ccs-part)); transition: opacity var(--duration-slow) var(--ease-default); background: conic-gradient(from var(--ccs-halo-angle), var(--ask-ai-spectrum-stops)); animation: ccs-halo-spin calc(var(--fx-spectrum-spin) * 5) linear infinite; }
.ccs-halo i:first-child { inset: calc(-1 * var(--space-50)); filter: blur(var(--space-200)); --ccs-part: var(--alpha-700); }
.ccs-halo i + i { inset: calc(-1 * var(--space-300)); filter: blur(var(--space-600)); --ccs-part: var(--alpha-500); }
.ccs-halo b { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(var(--glass-tint-scrolled), var(--glass-tint-scrolled)), var(--ccs-plate); }
.ccs-home[data-busy] .ccs-halo { --ccs-glow-on: 1; }
/* The Ask AI window drops from the header: lift it over the header bar so the glow's top is not cut, and Lumi over it */
html[data-ccs-home-open="ai"] .ccs-home[data-where="ai"][data-fixed] { z-index: var(--z-overlay); }
html[data-ccs-home-open="ai"] .sg-cv[data-fixed][data-z="top"] { z-index: var(--z-modal); }   /* the next layer up: nothing sits between overlay and modal, so it rides just over the window */
@media (prefers-reduced-motion: reduce) { .ccs-halo i { animation: none; --ccs-halo-angle: 125deg; } }
[data-motion-paused="1"] .ccs-halo i { animation: none; }
@media (forced-colors: active) { .ccs-halo { display: none; } }

/* 5. The Ask AI window's glass (his picks 22 Nov 2026, chat LUMI GLASS, review page lumi-glass-live, a Send with no note):
      glass 4 "Lumi colour", outline 2 "thin light line", wobble 2 "settle on open". The window's own glass moves onto
      .ccs-glass, a layer behind the card that site-guide.js clips to Lumi's wobbling outline as the window opens (glassOpen);
      the white card and the words never move. The solid plate under the glow goes: the glow becomes a ring outside the
      window, so its colour never washes through the glass. Contrast measured 22 Nov over the hero, the work tiles and the
      lime footer, light and dark, phone to desktop: the words read 6.1 to 1 or better (WCAG 1.4.3 asks 4.5). */
.ccs-home[data-where="ai"].ccs-home-g { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-color: transparent; box-shadow: none; opacity: 1; }
/* The blur fix (his note 25 Nov 2026, chat SEND LUMI AWAY: "the ask ai chat window loads clear then loads the blur, blur
   should be instant"; his pick "fix", review page send-lumi-away). An opacity under 1 or a clip-path on the window makes
   it a backdrop root (MDN, backdrop-filter), so its glass blurred nothing until the fade ended. The window stays at full
   opacity (the rule above); its layers fade instead (a layer's own opacity never stops its own blur), and the shadow fades
   on ::before, which paints first at the layers' own -1, so it sits under the glow and the glass.
   The circle from a tap on Lumi is drawn on each layer too (clipKids in site-guide.js). */
.ccs-home[data-where="ai"].ccs-home-g::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; box-shadow: var(--glass-shadow); pointer-events: none;
  opacity: 0; transition: opacity var(--duration-fast) var(--ease-exit);
}
.ccs-home[data-where="ai"].ccs-home-g > * { opacity: 0; transition: opacity var(--duration-fast) var(--ease-exit); }
.ccs-home[data-where="ai"][data-open].ccs-home-g::before,
.ccs-home[data-where="ai"][data-open].ccs-home-g > * { opacity: 1; transition: opacity var(--duration-base) var(--ease-entrance); }
@media (prefers-reduced-motion: reduce) { .ccs-home[data-where="ai"].ccs-home-g::before, .ccs-home[data-where="ai"].ccs-home-g > * { transition: none; } }
.ccs-home[data-where="ai"] > .ccs-halo b { display: none; }
.ccs-home[data-where="ai"] > .ccs-halo i { box-sizing: border-box; -webkit-mask: linear-gradient(rgb(0 0 0), rgb(0 0 0)) content-box exclude, linear-gradient(rgb(0 0 0), rgb(0 0 0)); mask: linear-gradient(rgb(0 0 0), rgb(0 0 0)) content-box exclude, linear-gradient(rgb(0 0 0), rgb(0 0 0)); }   /* mask luminance: only the ring outside the window shows */
.ccs-home[data-where="ai"] > .ccs-halo i:first-child { padding: var(--space-50); }
.ccs-home[data-where="ai"] > .ccs-halo i + i { padding: var(--space-300); }
.ccs-glass, .ccs-glass-rim { display: none; }
.ccs-home[data-where="ai"] > .ccs-glass {   /* inset -1px: lint-ok, the glass covers the window's 1 px see-through border (.ccs-home-g), so the light line drawn to the border box sits on it */
  display: block; position: absolute; inset: -1px; z-index: -1; overflow: hidden; border-radius: inherit; pointer-events: none;
  background: color-mix(in srgb, var(--color-surface) 62%, transparent);
  -webkit-backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate));
}
/* Lumi's colours drifting slowly inside the glass: one slow sway every four turns of the spectrum. The colours are painted
   larger than the window and drift by their position, so the layer itself never runs past the window (overflow gate).
   Softer and blended (his words 26 Nov 2026, chat ASK AI POLISH: three blobs "a bit strong ... make it a bit more
   seamless"): a step lighter (alpha-500 to alpha-400), each colour spread wider and fading out further so they meet
   with no edge, a wash rather than three spots. */
.ccs-glass-wash {
  position: absolute; inset: 0; opacity: var(--alpha-400); pointer-events: none;
  background:
    radial-gradient(70% 80% at 15% 20%, var(--fx-spectrum-5), transparent),
    radial-gradient(70% 80% at 85% 25%, var(--fx-spectrum-6), transparent),
    radial-gradient(80% 70% at 50% 95%, var(--fx-spectrum-2), transparent);
  background-size: 140% 140%; background-position: 40% 55%;
  animation: ccs-glass-drift calc(var(--fx-spectrum-spin) * 4) var(--ease-default) infinite alternate;
}
@keyframes ccs-glass-drift { to { background-position: 60% 42%; } }
/* the thin light line round it, drawn on the same outline as the glass */
.ccs-home[data-where="ai"] > .ccs-glass-rim { display: block; position: absolute; inset: -1px; z-index: 0; inline-size: calc(100% + 2px); block-size: calc(100% + 2px); overflow: visible; pointer-events: none; }   /* lint-ok: on the border box, as the glass above */
.ccs-glass-rim path { fill: none; stroke-width: 1.25px; vector-effect: non-scaling-stroke; }   /* lint-ok: a hairline, his pick 2 "thin light line" as shown on the review page */
.ccs-glass-rim stop { stop-color: var(--color-static-white); }
/* Dark: the page under the glass is dimmed, so white words hold over the lime footer and bright tiles (without it the
   footer read 2.6 to 1 under the clear looks; measured 22 Nov). */
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern: the dark glass is declared on each theme selector */
[data-theme="dark"] .ccs-home[data-where="ai"] > .ccs-glass { background: color-mix(in srgb, var(--color-surface) 66%, transparent); -webkit-backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate)) brightness(0.7); backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate)) brightness(0.7); }   /* lint-ok: 0.7, the dim measured on the review page; no glass token dims below 1 */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ccs-home[data-where="ai"] > .ccs-glass { background: color-mix(in srgb, var(--color-surface) 66%, transparent); -webkit-backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate)) brightness(0.7); backdrop-filter: blur(var(--glass-blur-frost)) saturate(var(--glass-saturate)) brightness(0.7); } }   /* lint-ok: as above */
@media (prefers-reduced-motion: reduce) { .ccs-glass-wash { animation: none; } }
[data-motion-paused="1"] .ccs-glass-wash { animation: none; }
@media (prefers-reduced-transparency: reduce) { .ccs-home[data-where="ai"] > .ccs-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--color-surface); } .ccs-home[data-where="ai"] > .ccs-glass-rim, .ccs-glass-wash { display: none; } }
/* stylelint-disable-next-line scale-unlimited/declaration-strict-value -- Canvas and CanvasText are the system colours forced-colors mode requires */
@media (forced-colors: active) { .ccs-home[data-where="ai"] > :is(.ccs-glass, .ccs-glass-rim) { display: none; } .ccs-home[data-where="ai"].ccs-home-g { background: Canvas; border-color: CanvasText; } }

/* Chat look, "Stacked" (his picks 19 Nov 2026 on the review page lumi-chat-look, each sent with no note; spec-chat-look-site.md,
   Step A). Lumi's own chat and the Ask AI window: one light glass shell; inside it one white card holds Lumi's chat and the
   next question, and is the box that scrolls; "Or ask another AI", the switches and the field stay on the glass under it.
   Lumi's lines sit in a lavender to blue bubble; the visitor's question keeps its own look. The glow while Lumi replies is
   unchanged (rule 4 above). Stand and under only: the hero window (side) keeps its own look.
   The shell in dark keeps the site's strong tint (the 16 Nov rule above): the spec's 82 percent let the lime footer and
   light cards behind the chat's field lift its grey hint to 3.33 to 1 at Kind words (measured 19 Nov, kit test v12-grounds;
   WCAG 1.4.3 asks 4.5). Light keeps the spec's glass. */
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern: the bubble's mix and the shell differ per theme, declared on each theme selector */
:root { --ccs-bot-lav: 55%; --ccs-bot-blue: 45%; --ccs-shell: color-mix(in srgb, color-mix(in srgb, var(--color-text-primary) 5%, var(--color-surface)) 82%, transparent); }
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern, as above */
[data-theme="light"] { --ccs-bot-lav: 55%; --ccs-bot-blue: 45%; --ccs-shell: color-mix(in srgb, color-mix(in srgb, var(--color-text-primary) 5%, var(--color-surface)) 82%, transparent); }
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern, as above */
[data-theme="dark"] { --ccs-bot-lav: 38%; --ccs-bot-blue: 32%; --ccs-shell: var(--glass-tint-strong); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ccs-bot-lav: 38%; --ccs-bot-blue: 32%; --ccs-shell: var(--glass-tint-strong); } }
.ccs-home:where([data-layout="stand"]).ccs-home-g,
.ccs-home:where([data-layout="stand"]) .ccs-home-g {
  background:
    linear-gradient(var(--ccs-shell), var(--ccs-shell)) padding-box,
    linear-gradient(180deg, var(--glass-edge-top), var(--glass-edge-bottom)) border-box;
}
.ccs-home:where([data-layout="stand"]) .ccs-home-scroll { flex: 0 1 auto; padding: var(--space-100) var(--space-200); border-radius: var(--radius-lg); background: var(--color-surface); }
.ccs-home:where([data-layout="stand"]) .ccs-home-scroll:has(> .ccs-home-log:empty):has(> .ccs-home-next:empty) { padding: 0; background: none; }   /* nothing in it yet: no empty white box */
.ccs-home:where([data-layout="stand"])[data-view="phone"] .ccs-home-scroll { margin-block-start: auto; }   /* phones: the card sits by the field, as the thread did */
.ccs-home:where([data-layout="stand"]) .ccs-home-msg--bot {
  padding: var(--space-100) var(--space-300);
  border-radius: var(--radius-lg);
  color: var(--color-text-primary);
  background: linear-gradient(120deg, color-mix(in srgb, var(--pastel-lavender-300) var(--ccs-bot-lav), var(--color-surface)), color-mix(in srgb, var(--pastel-blue-300) var(--ccs-bot-blue), var(--color-surface)));   /* lint-ok: Lumi's bubble, his 19 Nov pick (spec-chat-look-site.md): the lavender to blue pair the case study's window uses; no semantic token names it */
}
@media (prefers-reduced-transparency: reduce) { .ccs-home:where([data-layout="stand"]).ccs-home-g, .ccs-home:where([data-layout="stand"]) .ccs-home-g { background: var(--color-surface); } }
/* stylelint-disable scale-unlimited/declaration-strict-value -- Canvas and CanvasText are the system colours forced-colors mode requires */
@media (forced-colors: active) {
  .ccs-home:where([data-layout="stand"]).ccs-home-g, .ccs-home:where([data-layout="stand"]) .ccs-home-g { background: Canvas; }
  .ccs-home:where([data-layout="stand"]) :is(.ccs-home-scroll, .ccs-home-msg--bot) { background: Canvas; border: 1px solid CanvasText; }
}
/* stylelint-enable scale-unlimited/declaration-strict-value */
/* The thinking dots on Lumi's lavender bubble: the speech bubble's own dots and bounce, but they never fade below 0.55, so
   at their faintest they keep 3 to 1 on the bubble (WCAG 1.4.11; at the speech bubble's 0.3 they read 2 to 1 here). */
.ccs-home:where([data-layout="stand"]) .ccs-home-msg--bot .sg-dots i { opacity: var(--alpha-600); animation-name: ccs-dot; }
@keyframes ccs-dot { 30% { opacity: 1; transform: translateY(calc(var(--space-100) * -1)); } 60% { opacity: var(--alpha-600); transform: none; } }
@media (prefers-reduced-motion: reduce) { .ccs-home:where([data-layout="stand"]) .ccs-home-msg--bot .sg-dots i { animation: none; } }

/* 6. The Ask AI window, lighter (his picks 22 Nov 2026, chat ASK AI UPLIFT, review page ask-ai-uplift, approved on the
      built page). Desktop window and phone sheet alike; Lumi's own chat keeps its look.
      - The glass and its light line sit on the window's border box: the line used to be drawn to the border box (440 wide)
        over glass inside the 1 px border (438), so it ran 2 px past the glass at the right and bottom.
      - Light at the top and bottom only, like iOS and Mac widgets: a bright edge with a soft sheen inside it, fading out down
        the sides (site-guide.js draws both to the window's outline); toned down in dark, his note.
      - No white box round the starter questions and no white card round the chat: the words sit on the glass and start on
        the divider's line, 12 px in, clear of Lumi and the field. Measured 22 Nov over the whole home page, light and dark:
        the words read 6.3 to 1 or better (WCAG 1.4.3 asks 4.5).
      - Questions 28 px a row with a mouse (a finger keeps the full 44), the field 44 px, the send button a light white
        circle round the ink arrow, "Or ask another AI" under the field in the chat, Lumi's answer plain on the glass. */
.ccs-glass-rim .ccs-glass-line { stroke-width: 1.5px; }   /* lint-ok: a hairline, a touch over the old 1.25 so the top light reads */
.ccs-glass-rim .ccs-glass-sheen { stroke-width: var(--space-300); filter: url(#ccs-glass-glow); }
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern: the dark light is declared on each theme selector */
[data-theme="dark"] .ccs-glass-rim .ccs-glass-line { opacity: var(--alpha-600); }
[data-theme="dark"] .ccs-glass-rim .ccs-glass-sheen { opacity: var(--alpha-500); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ccs-glass-rim .ccs-glass-line { opacity: var(--alpha-600); }
  :root:not([data-theme="light"]) .ccs-glass-rim .ccs-glass-sheen { opacity: var(--alpha-500); }
}
.ccs-home[data-where="ai"] .ccs-home-scroll { padding: 0; border-radius: 0; background: none; }
.ccs-home[data-where="ai"] .ccs-home-next { padding: 0; }
.ccs-home[data-where="ai"][data-ask-top] .ccs-home-scroll { margin-block: var(--space-200); }   /* the start: clear of Lumi and the field above, the divider below */
.ccs-home[data-where="ai"] .ccs-home-log { padding: var(--space-200) var(--space-300) var(--space-300); }
.ccs-home[data-where="ai"] .ccs-home-lognote .ccs-home-note { padding-inline: 0; }
.ccs-home[data-where="ai"]:not([data-ask-top]) .ccs-home-next { padding-block-end: var(--space-200); }
@media (pointer: fine) { .ccs-home[data-where="ai"] .ccs-ask-row { min-block-size: calc(var(--btn-sm) - var(--space-100)); } }
.ccs-home[data-where="ai"] .ccs-home-form { min-block-size: calc(var(--space-700) - var(--space-100)); }
.ccs-home[data-where="ai"] .ccs-ask-in { block-size: calc(var(--touch-target-min) - var(--space-100)); caret-color: var(--color-text-primary); }
.ccs-home[data-where="ai"][data-ask-top] .ccs-home-spot--top { align-self: center; }
/* the send button: a light white circle in both themes round the ink arrow (black in light, white in dark), firmer once
   there is something to send. The arrow keeps 4.5 to 1 or better on it over the glass. */
.ccs-home[data-where="ai"] .ccs-ask-send { border-radius: var(--dot-radius); background-color: rgb(from var(--color-static-white) r g b / var(--alpha-500)); color: var(--color-text-primary); }
@media (hover: hover) { .ccs-home[data-where="ai"] .ccs-ask-send:hover { background-color: rgb(from var(--color-static-white) r g b / var(--alpha-600)); color: var(--color-text-primary); } }
.ccs-home[data-where="ai"] .ccs-ask-send[data-on], .ccs-home[data-where="ai"] .ccs-ask-send[data-on]:hover { background-color: rgb(from var(--color-static-white) r g b / var(--alpha-700)); color: var(--color-text-primary); }
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern, as above */
[data-theme="dark"] .ccs-home[data-where="ai"] .ccs-ask-send[data-on] { background-color: rgb(from var(--color-static-white) r g b / var(--alpha-400)); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ccs-home[data-where="ai"] .ccs-ask-send[data-on] { background-color: rgb(from var(--color-static-white) r g b / var(--alpha-400)); } }
/* the chat: the field sits right under the answer and "Or ask another AI" is the window's footer, with no line */
.ccs-home[data-where="ai"]:not([data-ask-top]) .ccs-home-col { gap: var(--space-100); }
.ccs-home[data-where="ai"]:not([data-ask-top]) .ccs-home-card { display: contents; }
.ccs-home[data-where="ai"]:not([data-ask-top]) .ccs-home-top { margin-block-end: var(--space-100); }
.ccs-home[data-where="ai"]:not([data-ask-top]) .ccs-home-form { order: 1; }
.ccs-home[data-where="ai"]:not([data-ask-top]) .ccs-home-foot { order: 2; margin-inline: var(--space-300); padding: 0; border-block-start: 0; }
.ccs-home[data-where="ai"] .ccs-home-msg--bot { max-inline-size: 100%; padding-inline: 0; background: none; }
@media (forced-colors: active) { .ccs-home[data-where="ai"] :is(.ccs-home-scroll, .ccs-home-msg--bot) { border: 0; } }

/* 7. The Ask AI field and button (his picks 23 Nov 2026, chat ASK AI INPUT, review page ask-ai-input, a Send with no note).
      - The field's edge stays a hairline: the light 1 px line at rest; with focus it stays 1 px and turns full ink, black in
        light and white in dark, and the cursor follows it (it was a 2 px ring, lime in dark). An outline, so forced colours
        keeps it. WCAG 2.2 AA asks for a visible focus (2.4.7) whose changed pixels hold 3 to 1 (1.4.11); ink on the glass
        holds far more. The 2 px area is 2.4.13, AAA, which the site does not claim.
      - The send button has no circle and shows only once there is something to send, as the return key (Lucide
        corner-down-left, drawn as a mask so it takes the ink). Hidden with visibility, so an empty field's button is out of
        the Tab order too, and its space stays, so the words never shift. Enter still sends from an empty-looking field's
        keyboard, and a phone's keyboard shows its own Send key (enterkeyhint="send").
      - The header button carries Lumi where the sparkle was, 24 px, cropped tight (critter.js Critter.icon, drawn by
        a script in index.html paints it once critter.js is in, before the header shows), 10 px from the button's edge and 12 px after the words. Sent away, the live Lumi takes the
        spot, so the still steps aside. */
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-form:has(.ccs-ask-in:focus),
.ccs-home[data-layout="stand"][data-where="ai"][data-view] .ccs-home-form:has(.ccs-ask-in:focus-visible) {
  box-shadow: none;
  outline: 1px solid var(--color-text-primary);
  outline-offset: -1px;
}
.ccs-ask-ret { display: none; }
.ccs-home[data-where="ai"] .ccs-ask-send,
.ccs-home[data-where="ai"] .ccs-ask-send[data-on] {
  background-color: transparent;
  color: var(--color-text-primary);
  transition: opacity var(--duration-fast) var(--ease-default), visibility var(--duration-fast) var(--ease-default), background-color var(--duration-fast) var(--ease-default);
}
/* stylelint-disable-next-line no-duplicate-selectors -- theme-pin pattern: the dark send circle (block 6) is cleared on each theme selector */
[data-theme="dark"] .ccs-home[data-where="ai"] .ccs-ask-send[data-on] { background-color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ccs-home[data-where="ai"] .ccs-ask-send[data-on] { background-color: transparent; } }
.ccs-home[data-where="ai"] .ccs-ask-send:not([data-on]) { visibility: hidden; opacity: 0; }
@media (hover: hover) {
  .ccs-home[data-where="ai"] .ccs-ask-send[data-on]:hover { background-color: rgb(from var(--color-text-primary) r g b / var(--alpha-200)); color: var(--color-text-primary); }
}
.ccs-home[data-where="ai"] .ccs-ask-send > :is(svg, i) { display: none; }
.ccs-home[data-where="ai"] .ccs-ask-send > .ccs-ask-ret {
  display: block;
  inline-size: var(--space-400);
  block-size: var(--space-400);
  background: currentColor;
  -webkit-mask: url("../../../assets/icons/corner-down-left.svg") center / contain no-repeat;
  mask: url("../../../assets/icons/corner-down-left.svg") center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) { .ccs-home[data-where="ai"] .ccs-ask-send { transition: none; } }
[id="site-header"] .header-ask[data-lumi] { padding-inline: var(--space-250) var(--space-300); }
.header-ask > .ask-ai-lumi { display: none; }
.header-ask[data-lumi] > .ask-ai-lumi { display: block; flex: none; inline-size: var(--space-500); block-size: var(--space-500); background: center / contain no-repeat; pointer-events: none; }
.header-ask[data-lumi] > [data-lucide="sparkles"] { display: none; }
/* stylelint-disable scale-unlimited/declaration-strict-value -- CanvasText is the system colour forced-colors mode requires */
@media (forced-colors: active) { .ccs-home[data-where="ai"] .ccs-ask-send > .ccs-ask-ret { background: CanvasText; } }
/* stylelint-enable scale-unlimited/declaration-strict-value */
