/* Shared stylesheet for vcnoel.github.io: the home page and the writing pages.
   Palette follows the spectral-trust figures (Okabe-Ito blue and orange).
   The spectral-trust docs reuse these tokens (docs/stylesheets/site.css there). */

:root {
    color-scheme: light;
    --bg: #fbfaf7;
    --surface: #ffffff;
    --surface-2: #f3f0e9;
    --ink: #16140f;
    --ink-2: #3d3830;
    --muted: #635c52;
    --line: #e4ded3;
    --line-strong: #cfc6b7;
    --accent: #0067a3;
    --accent-hover: #00527f;
    --accent-ink: #ffffff;
    --orange: #e69f00;
    --orange-tint: #fcecce;
    --orange-ink: #6b4100;
    --blue: #0072b2;
    --blue-tint: #e3f0f8;
    --blue-ink: #004f7c;
    --grey-tint: #eeebe4;
    --shadow: 0 1px 2px rgba(22, 20, 15, 0.05), 0 10px 30px rgba(22, 20, 15, 0.07);
    --header-bg: rgba(251, 250, 247, 0.9);
    --code-bg: #14171c;
    --code-line: #2a313b;
    --code-ink: #e6e4de;
    --code-muted: #8e98aa;
    --code-key: #6cc0ef;
    --code-str: #f3c66b;
    --strip-edge: #3d3830;
    --strip-node-line: #16140f;

    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    --fs-xs: 0.8125rem;
    --fs-sm: 0.9375rem;
    --tap: 0px;
    --wrap: 1180px;
    --gutter: 24px;
    --gap: 72px;
    --card-gap: 24px;
    --radius: 14px;
    --header-h: 60px;
    --bar-h: 40px;
    /* Two measures for running text, both about 75 characters a line:
       one for body text (15 to 16 px), one for ledes and intros (18 to 19 px). */
    --measure: 36rem;
    --measure-lede: 42rem;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #0f1115;
        --surface: #161a20;
        --surface-2: #1c2129;
        --ink: #ecebe7;
        --ink-2: #c8c5bd;
        --muted: #a39e94;
        --line: #272d36;
        --line-strong: #39414d;
        --accent: #6cc0ef;
        --accent-hover: #9fd3f2;
        --accent-ink: #0b1220;
        --orange-tint: #372f1b;
        --orange-ink: #f3c66b;
        --blue: #56b4e9;
        --blue-tint: #1f303c;
        --blue-ink: #9fd3f2;
        --grey-tint: #222831;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
        --header-bg: rgba(15, 17, 21, 0.88);
        --code-bg: #0a0c0f;
        --strip-edge: #c8c5bd;
        --strip-node-line: #0f1115;
    }
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #0f1115;
    --surface: #161a20;
    --surface-2: #1c2129;
    --ink: #ecebe7;
    --ink-2: #c8c5bd;
    --muted: #a39e94;
    --line: #272d36;
    --line-strong: #39414d;
    --accent: #6cc0ef;
    --accent-hover: #9fd3f2;
    --accent-ink: #0b1220;
    --orange-tint: #372f1b;
    --orange-ink: #f3c66b;
    --blue: #56b4e9;
    --blue-tint: #1f303c;
    --blue-ink: #9fd3f2;
    --grey-tint: #222831;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
    --header-bg: rgba(15, 17, 21, 0.88);
    --code-bg: #0a0c0f;
    --strip-edge: #c8c5bd;
    --strip-node-line: #0f1115;
}

@media (min-width: 768px) { :root { --gutter: 48px; } }
@media (min-width: 1024px) { :root { --gap: 120px; --card-gap: 32px; } }
@media (min-width: 1280px) { :root { --gutter: 64px; } }
/* Phones and tablets: nothing under 14 px, touch targets of 44 px */
@media (max-width: 820px) { :root { --fs-xs: 0.875rem; --tap: 44px; --bar-h: 48px; } }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body > main { flex: 1 0 auto; width: 100%; }

[hidden] { display: none !important; }
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
code { font-family: var(--font-mono); font-size: 0.9em; }
pre code { font-size: inherit; }
@media (max-width: 820px) { code { font-size: 1em; } }

.icon {
    width: 1.1em;
    height: 1.1em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
}
.skip-link:focus { top: 8px; color: var(--accent-ink); }

.wrap {
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* Theme-dependent images: both are in the page, one is shown */
.on-dark { display: none; }
:root[data-theme-effective="dark"] .on-dark { display: block; }
:root[data-theme-effective="dark"] .on-light { display: none; }

/* Announcement bar: one news item at a time, above the header and in the page flow, so it
   scrolls away and never covers content. Its height is fixed before the script fills it.
   The items are in assets/js/announcements.js. */
.announce {
    height: var(--bar-h);
    overflow: hidden;
    background: var(--blue-tint);
    border-bottom: 1px solid var(--line);
    font-size: 0.875rem;
    line-height: 1.35;
}
html:not(.js) .announce { display: none; }
.announce-inner { display: flex; align-items: center; gap: 0.5rem; height: 100%; }
.announce-list { display: grid; flex: 1; min-width: 0; height: 100%; list-style: none; padding: 0; }
.announce-item {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    min-width: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateX(14px);
}
.announce-item.is-active { visibility: visible; opacity: 1; transform: none; }
.announce-item.is-leaving { transform: translateX(-14px); }
.announce-link {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: max(32px, var(--tap));
    padding-inline: 2px;
    color: var(--ink);
    text-decoration: none;
}
.announce-link:hover { color: var(--ink); }
.announce-link:hover .announce-text { text-decoration: underline; text-underline-offset: 0.18em; }
.announce-link:focus-visible, .announce-pause:focus-visible { outline-offset: -2px; }
.announce-copy { display: block; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.announce-label { margin-right: 0.3rem; color: var(--blue-ink); font-weight: 650; }
.announce-label::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 0.45rem;
    border-radius: 50%;
    background: var(--orange);
    vertical-align: 0.1em;
}
.announce-pause {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: max(32px, var(--tap));
    height: max(32px, var(--tap));
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--blue-ink);
    cursor: pointer;
}
.announce-pause:hover { background: var(--surface); }
.announce-pause .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.announce-pause .i-play path { fill: currentColor; stroke-width: 1.5; }
.announce-pause .i-play, .announce-pause[aria-pressed="true"] .i-pause { display: none; }
.announce-pause[aria-pressed="true"] .i-play { display: block; }
/* Phones: the text may wrap to a second line */
@media (max-width: 820px) {
    .announce-copy {
        display: -webkit-box;
        white-space: normal;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .announce-item { transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s; }
    .announce-item.is-active { transition: opacity 0.5s ease 0.15s, transform 0.5s ease 0.15s, visibility 0s; }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 0.5rem; min-height: var(--header-h); }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: var(--tap);
    margin-right: auto;
    color: var(--ink);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand img { width: 26px; height: 26px; border-radius: 7px; }

.site-nav ul { display: flex; align-items: center; gap: 0.15rem; list-style: none; padding: 0; }
.site-nav a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    color: var(--ink-2);
    font-size: var(--fs-sm);
    font-weight: 500;
    text-decoration: none;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); background: var(--surface-2); }
.site-nav .nav-mark { width: 18px; height: 18px; }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: max(38px, var(--tap));
    height: max(38px, var(--tap));
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-2);
    cursor: pointer;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn .icon { width: 18px; height: 18px; }

.theme-toggle .i-sun { display: none; }
:root[data-theme-effective="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme-effective="dark"] .theme-toggle .i-sun { display: block; }
html:not(.js) .theme-toggle { display: none; }

.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-menu { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 959px) {
    .menu-toggle { display: inline-grid; }
    .js .site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow);
    }
    .js .site-nav.is-open { display: block; }
    .js .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-width: calc(var(--wrap) + 2 * var(--gutter));
        margin-inline: auto;
        padding: 0.5rem var(--gutter) 1rem;
    }
    .js .site-nav a { min-height: 48px; padding: 0 0.6rem; font-size: 1.0625rem; }
    .site-nav { order: 3; }
    html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }
    html:not(.js) .site-nav { width: 100%; }
    html:not(.js) .site-nav ul { flex-wrap: wrap; }
    html:not(.js) .menu-toggle { display: none; }
}

/* Buttons, chips, pills */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: max(44px, var(--tap));
    padding: 0.55rem 1.05rem;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: var(--fs-sm);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s, background-color 0.2s;
}
.btn:hover { color: var(--ink); border-color: var(--ink-2); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn .icon { width: 17px; height: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
@media (max-width: 559px) { .btn-row .btn { flex: 1 1 auto; } }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--orange-tint);
    color: var(--ink);
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1.35;
}
.chip::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--orange); }
.chip a { color: inherit; }

.pill-list { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; }
.pill {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink-2);
    font-size: var(--fs-xs);
    font-weight: 500;
    line-height: 1.35;
}

.venue {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.12rem 0.6rem;
    border-radius: 999px;
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.45;
    background: var(--blue-tint);
    color: var(--blue-ink);
}
.venue.is-main, .venue.is-award { background: var(--orange-tint); color: var(--orange-ink); }
.venue.is-award::before { content: "\2605"; font-size: 0.85em; }
.venue.is-preprint { background: var(--grey-tint); color: var(--ink-2); }

.text-link, .more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: var(--tap);
    min-width: var(--tap);
    font-size: var(--fs-sm);
    font-weight: 600;
    text-decoration: none;
}
.text-link:hover, .more-link:hover { text-decoration: underline; }
.text-link .icon, .more-link .icon { width: 15px; height: 15px; }
.link-row { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }

/* Sections */
.section { padding-block: calc(var(--gap) / 2); }
.section:first-of-type { padding-top: calc(var(--gap) / 2); }
.section-head { max-width: var(--measure-lede); margin-bottom: calc(var(--card-gap) + 0.25rem); }
.section-head.is-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem 2rem;
    max-width: none;
}
h2 {
    font-family: var(--font-sans);
    font-weight: 650;
    font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem);
    line-height: 1.2;
    letter-spacing: -0.022em;
}
h3, h4 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.lede { margin-top: 0.6rem; max-width: var(--measure-lede); font-size: 1.125rem; color: var(--muted); }
/* Running text never runs wider than its measure; narrower columns keep their own width */
.note, .news-item p, .card p, .deploy-list p, .cv-points, .details-body ul, .paper-meta, .post-card p, .contact-note p {
    max-width: var(--measure);
}
.lede, .hero-sentence, .about-intro, .contact-band p, .note, .news-item p, .card p, .paper-meta, .post-card p, .contact-note p { text-wrap: pretty; }
.note { margin-top: 0.9rem; font-size: var(--fs-sm); color: var(--muted); }

.band { background: var(--surface); border-block: 1px solid var(--line); }

.grid { display: grid; gap: var(--card-gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.6rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
}
.card p { color: var(--ink-2); }
.card .link-row, .card .pill-row { margin-top: auto; padding-top: 0.5rem; }
/* The card icons sit on a tile with a soft blue-to-orange gradient. The icons themselves are
   drawn and animated by tools/make_card_icons.py (the card-art block further down). */
.card-icon {
    display: inline-grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin-bottom: 0.35rem;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--blue-tint), var(--orange-tint));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 16%, transparent);
}
.card-art { width: 60px; height: 60px; overflow: visible; }
.card-venue { font-size: var(--fs-xs); color: var(--muted); }

/* Compact pill buttons: the links of the cards and of the demo list */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: max(32px, var(--tap));
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: var(--fs-xs);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.pill-link:hover { color: var(--blue-ink); border-color: var(--blue); background: var(--blue-tint); }
.pill-link .icon { width: 14px; height: 14px; }

/* Spotlight on cards and tiles. A mouse or pen draws a gradient border, blue on the left and
   orange on the right, brightest under the pointer, with a faint glow inside. Keyboard focus,
   a tap, reduced motion and pages without the script get the whole border at once. Both are
   drawn on pseudo-elements, so nothing moves. assets/js/site.js sets --mx and --my. */
.spot { position: relative; isolation: isolate; }
.spot::before, .spot::after {
    content: "";
    position: absolute;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
}
.spot::before {
    inset: -1px;
    padding: 1.5px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    background: linear-gradient(in oklab 90deg, var(--blue), var(--orange));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.spot::after {
    inset: 0;
    z-index: -1;
    background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 50%), var(--spot-glow), transparent 70%);
}
:root { --spot-glow: rgba(0, 114, 178, 0.07); }
:root[data-theme-effective="dark"] { --spot-glow: rgba(86, 180, 233, 0.09); }
.spot:hover::before, .spot:has(:focus-visible)::before { opacity: 1; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .spot::before, .spot::after { transition: opacity 0.3s ease; }
    .js .spot::before {
        background:
            radial-gradient(18rem circle at var(--mx, 50%) var(--my, 50%), transparent 15%, var(--spot-rest) 100%),
            linear-gradient(in oklab 90deg, var(--blue), var(--orange));
    }
    .js .spot:hover::after { opacity: 1; }
    .js .spot:has(:focus-visible)::before { background: linear-gradient(in oklab 90deg, var(--blue), var(--orange)); }
}
:root { --spot-rest: color-mix(in srgb, var(--line-strong) 82%, transparent); }

/* Hero */
.hero { padding-block: 48px 36px; }
@media (min-width: 1024px) { .hero { padding-block: 88px 60px; } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; align-items: center; }
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(180px, 230px); gap: 4rem; align-items: start; }
}

.hero h1 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2.5rem, 1.9rem + 2.4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
}
.hero-position {
    margin-top: 0.6rem;
    font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--ink-2);
}
.hero-sentence { margin-top: 1.25rem; max-width: var(--measure-lede); font-size: 1.1875rem; line-height: 1.55; color: var(--ink); }
.hero .chip-list { margin-top: 1.75rem; }
.hero .btn-row { margin-top: 2rem; }

.portrait {
    order: -1;
    width: 112px;
    aspect-ratio: 2 / 3;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-2);
    box-shadow: var(--shadow);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
@media (min-width: 900px) { .portrait { order: 0; width: 100%; border-radius: 22px; margin-top: 0.5rem; } }

/* What I work on: where the work runs, one tile per item on a soft blue-to-orange wash */
.deploy {
    margin-top: var(--card-gap);
    padding: 1.4rem 1.5rem 1.5rem;
    border-radius: var(--radius);
    background: linear-gradient(100deg, var(--deploy-a), var(--deploy-b));
}
:root {
    --deploy-a: color-mix(in oklab, var(--blue-tint) 75%, var(--bg));
    --deploy-b: color-mix(in oklab, var(--orange-tint) 75%, var(--bg));
}
.deploy h3 { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 600; margin-bottom: 0.9rem; }
.deploy-list { display: grid; gap: 0.9rem; grid-template-columns: minmax(0, 1fr); list-style: none; padding: 0; }
@media (min-width: 600px) { .deploy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Wide screens: one row, the demos tile wider so that its five links fit on two lines */
@media (min-width: 1100px) { .deploy-list { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr); } }
.deploy-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1.05rem 1.15rem 1.2rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
}
.deploy-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.3rem;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--blue-tint), var(--orange-tint));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 16%, transparent);
}
.deploy-mark svg, .deploy-mark img { width: 28px; height: 28px; }
.deploy-mark svg { overflow: visible; }
.deploy-mark .dm-line { fill: var(--surface); stroke: var(--blue-ink); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.deploy-mark .dm-edge { fill: none; stroke: var(--ink-2); stroke-width: 1.4; stroke-linecap: round; opacity: 0.55; }
.deploy-mark circle { stroke: var(--ink-2); stroke-width: 1.1; }
.deploy-mark .dm-blue { fill: var(--blue); }
.deploy-mark .dm-orange { fill: var(--orange); }
.deploy-mark .dm-tick { fill: none; stroke: var(--strip-node-line); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.deploy-mark .dm-dots { fill: none; stroke: var(--blue-ink); stroke-width: 2; stroke-linecap: round; }
.deploy-mark .dm-play { fill: var(--orange); stroke: var(--ink-2); stroke-width: 1.1; stroke-linejoin: round; }
.deploy-list strong { display: block; font-weight: 600; }
.deploy-list p { color: var(--ink-2); font-size: var(--fs-sm); }
.deploy-tile .pill-row { margin-top: 0.3rem; gap: 0.35rem; }
.deploy-tile .pill-link { padding-inline: 0.7rem; }

/* spectral-trust band */
.product-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3.5rem; align-items: start; }
@media (min-width: 1024px) { .product-top { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.product-logo { height: 40px; width: auto; margin-bottom: 1.25rem; }
.product-title { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); }
.product-top .pill-list { margin-top: 1.4rem; }
.product-top .btn-row { margin-top: 1.6rem; }

.code-panel {
    border-radius: var(--radius);
    border: 1px solid var(--code-line);
    background: var(--code-bg);
    color: var(--code-ink);
    overflow: hidden;
}
.code-panel + .code-panel { margin-top: 0.85rem; }
.grid > .code-panel + .code-panel { margin-top: 0; }
.code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-height: 44px;
    padding: 0.3rem 0.5rem 0.3rem 1rem;
    border-bottom: 1px solid var(--code-line);
    font-size: var(--fs-xs);
    color: var(--code-muted);
}
.code-panel pre {
    margin: 0;
    padding: 1rem 1.1rem;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    line-height: 1.7;
}
.code-panel pre:focus-visible, .copy-btn:focus-visible { outline-color: var(--code-key); }
.code-panel .k { color: var(--code-key); }
.code-panel .s { color: var(--code-str); }
.code-panel .c { color: var(--code-muted); }
.code-panel .p { color: var(--orange); user-select: none; }
.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: none;
    min-height: max(34px, var(--tap));
    padding: 0.25rem 0.7rem;
    border-radius: 8px;
    border: 1px solid var(--code-line);
    background: #1c2129;
    color: var(--code-ink);
    font-size: var(--fs-xs);
    font-weight: 600;
    cursor: pointer;
}
.copy-btn:hover { border-color: var(--code-key); }
.copy-btn .icon { width: 15px; height: 15px; }
html:not(.js) .copy-btn { display: none; }
.install { display: flex; align-items: center; gap: 0.75rem; padding: 0.4rem 0.5rem 0.4rem 1.1rem; }
.install pre { flex: 1; min-width: 0; padding: 0.4rem 0; }

/* Film strip of attention graphs */
.strip-block { margin-top: calc(var(--card-gap) * 1.5); }
.strip {
    padding: 1.5rem 1.6rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg);
}
.strip-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.5rem; }
@media (min-width: 768px) { .strip-cells { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.strip-cell { margin: 0; text-align: center; }
.strip-cell svg { width: 100%; max-width: 150px; margin-inline: auto; overflow: visible; }
.strip-cell figcaption { margin-top: 0.35rem; font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.strip-edges line { stroke: var(--strip-edge); stroke-linecap: round; }
.strip-nodes circle { stroke: var(--strip-node-line); stroke-width: 1; }
.strip-line { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.strip-line svg { width: 100%; height: auto; overflow: visible; }
.strip-base { stroke: var(--line-strong); stroke-width: 1; }
.strip-curve { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.strip-dots circle { fill: var(--orange); stroke: var(--bg); stroke-width: 2; }
.strip-axis { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; font-size: var(--fs-xs); color: var(--muted); }
.strip-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; margin-top: 1rem; font-size: var(--fs-xs); color: var(--muted); }
.strip-legend .key { display: inline-flex; align-items: center; gap: 0.45rem; }
.strip-legend .sw { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--strip-node-line); }

@media (prefers-reduced-motion: no-preference) {
    .js .strip.is-ready .strip-cell { opacity: 0.15; transition: opacity 0.5s ease; transition-delay: calc(var(--i) * 0.35s); }
    .js .strip.is-ready .strip-curve { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.2s ease 0.2s; }
    .js .strip.is-ready .strip-dots circle { opacity: 0; transition: opacity 0.4s ease; transition-delay: calc(var(--i) * 0.35s + 0.2s); }
    .js .strip.is-played .strip-cell, .js .strip.is-played .strip-dots circle { opacity: 1; }
    .js .strip.is-played .strip-curve { stroke-dashoffset: 0; }
    .js .strip.is-ready.is-rewinding .strip-cell,
    .js .strip.is-ready.is-rewinding .strip-dots circle { transition: opacity 0.9s ease; transition-delay: 0s; }
    .js .strip.is-ready.is-rewinding .strip-curve { transition: stroke-dashoffset 0.9s ease; }
}

/* Latest writing: one card per post, the whole card is the link */
.post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.post-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.post-card:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-card-media { aspect-ratio: 16 / 9; background: #ffffff; border-bottom: 1px solid var(--line); }
.post-card-media img { width: 100%; height: 100%; object-fit: contain; }
.post-card-body { display: flex; flex-direction: column; gap: 0.45rem; padding: 1.15rem 1.35rem 1.35rem; }
.post-card-meta { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; }
.post-card-title { font-size: 1.0625rem; line-height: 1.4; }
.post-card-title a { color: var(--ink); text-decoration: none; }
.post-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card-title a:focus-visible { outline: none; }
.post-card:hover .post-card-title a { color: var(--accent); }
.post-card p:not(.post-card-meta) { color: var(--ink-2); font-size: var(--fs-sm); }
.section-head.is-row .text-link { flex: none; }

/* Publications */
.pub-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.pub {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) auto;
    gap: 0.3rem 1.25rem;
    align-items: baseline;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--line);
}
.pub-year { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.venue-mark {
    height: 28px;
    width: auto;
    max-width: 88px;
    object-fit: contain;
    object-position: left center;
    padding: 2px;
    border-radius: 4px;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.25s, opacity 0.25s, background-color 0.25s;
}
.pub:hover .venue-mark, .pub:focus-within .venue-mark { filter: none; opacity: 1; }
:root[data-theme-effective="dark"] .venue-mark { filter: grayscale(1) invert(1); opacity: 0.7; }
:root[data-theme-effective="dark"] .pub:hover .venue-mark,
:root[data-theme-effective="dark"] .pub:focus-within .venue-mark { filter: none; opacity: 1; background: #ffffff; }
@media (max-width: 719px) { .pub-year { flex-direction: row; align-items: center; gap: 0.6rem; } }
.pub-title { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.pub-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin-top: 0.35rem; }
.pub-authors { font-size: var(--fs-sm); color: var(--muted); }
.pub-authors .me { color: var(--ink); font-weight: 600; }
.pub-links { display: flex; flex-wrap: wrap; gap: 0 1rem; justify-content: flex-end; }
@media (max-width: 719px) {
    .pub { grid-template-columns: minmax(0, 1fr); }
    .pub-links { justify-content: flex-start; }
}
.pub-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 1.25rem; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: max(34px, var(--tap));
    padding: 0.2rem 0.85rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink-2);
    font-size: var(--fs-xs);
    font-weight: 500;
    cursor: pointer;
}
.filter-btn:hover { color: var(--ink); border-color: var(--ink-2); }
.filter-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter-btn .count { opacity: 0.7; font-variant-numeric: tabular-nums; }
html:not(.js) .filter-bar { display: none; }

/* Toggles */
.more-btn, .more summary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: max(38px, var(--tap));
    padding: 0.3rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: transparent;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    list-style: none;
}
.more summary::-webkit-details-marker { display: none; }
.more-btn:hover, .more summary:hover { color: var(--ink); border-color: var(--ink-2); }
.more-btn .icon, .more summary .icon { transition: transform 0.2s; }
.more-btn[aria-expanded="true"] .icon, .more[open] summary .icon { transform: rotate(180deg); }
.more .when-open, .more[open] .when-closed { display: none; }
.more[open] .when-open { display: inline; }
.more > summary { margin-top: 1.1rem; }

/* News */
.news-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.news-item {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 0.15rem 1.5rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}
.news-kind { font-size: var(--fs-sm); color: var(--muted); }
.news-kind time { display: block; }
.more[open] > .news-list { margin-top: 1rem; }
@media (max-width: 559px) { .news-item { grid-template-columns: minmax(0, 1fr); } }

/* About and experience */
.about-intro { max-width: var(--measure-lede); font-size: 1.125rem; color: var(--ink-2); }
.cv-list { list-style: none; padding: 0; margin-top: calc(var(--card-gap) + 0.5rem); border-top: 1px solid var(--line); }
.cv-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem 3rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--line);
}
@media (min-width: 900px) { .cv-item { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.cv-role { font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.cv-role a { color: inherit; text-decoration-color: var(--line-strong); }
.cv-role a:hover { color: var(--accent); }
.cv-meta { color: var(--muted); font-size: var(--fs-sm); margin-top: 0.2rem; }
.cv-points { padding-left: 1.1rem; color: var(--ink-2); }
.cv-points li + li { margin-top: 0.4rem; }
.cv-points li::marker { color: var(--orange); }
.cv-label { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); margin-top: 2rem; }
.details-body { display: grid; gap: 1.5rem 3rem; margin-top: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .details-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.details-body h3 { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0.5rem; }
.details-body ul { padding-left: 1.1rem; color: var(--ink-2); font-size: var(--fs-sm); }
.details-body li + li { margin-top: 0.4rem; }
.skills { display: grid; gap: 0.6rem; }
.skills dt { font-weight: 600; font-size: var(--fs-sm); }
.skills dd { color: var(--ink-2); font-size: var(--fs-sm); }

/* Recognition */
.mini-card { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.mini-card h3 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; }
.mini-card h3 .icon { color: var(--orange-ink); width: 19px; height: 19px; }
.mini-list { list-style: none; padding: 0; }
.mini-list li { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.5; }
.mini-list li + li { margin-top: 0.75rem; }
.mini-list strong { display: block; color: var(--ink); font-weight: 600; }
.mini-list a { color: inherit; text-decoration-color: var(--line-strong); }
.mini-list a:hover { color: var(--accent); }

/* Contact band */
.contact-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.contact-band h2 { margin-bottom: 0.5rem; }
.contact-band p { max-width: var(--measure-lede); font-size: 1.125rem; color: var(--ink-2); }
.contact-notes { margin-top: 3rem; }
.contact-note {
    padding: 1.3rem 1.45rem 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg);
    scroll-margin-top: calc(var(--header-h) + 16px);
}
.contact-note h3 { margin-bottom: 0.6rem; }
.contact-note p { color: var(--ink-2); }

/* Footer */
.site-footer { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; align-items: center; }
.footer-inner p { font-size: var(--fs-sm); color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; }
.footer-links a {
    display: inline-grid;
    place-items: center;
    width: max(38px, var(--tap));
    height: max(38px, var(--tap));
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--ink-2);
}
.footer-links a:hover { color: var(--accent); border-color: var(--accent); }
.footer-links .icon { width: 17px; height: 17px; }

/* Reveal on scroll: the script marks only blocks below the fold as pending */
@media (prefers-reduced-motion: no-preference) {
    .reveal { transition: opacity 0.5s ease, transform 0.5s ease; }
    .reveal.is-pending { opacity: 0; transform: translateY(14px); }
    .reveal :is(.grid, .pub-list, .news-list, .logo-row, .cv-list, .deploy-list) > * {
        transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
    }
    .reveal.is-pending :is(.grid, .pub-list, .news-list, .logo-row, .cv-list, .deploy-list) > * { opacity: 0; transform: translateY(16px); }
    .reveal :is(.grid, .pub-list, .news-list, .logo-row, .cv-list, .deploy-list) > :nth-child(2) { transition-delay: 0.07s; }
    .reveal :is(.grid, .pub-list, .news-list, .logo-row, .cv-list, .deploy-list) > :nth-child(3) { transition-delay: 0.14s; }
    .reveal :is(.grid, .pub-list, .news-list, .logo-row, .cv-list, .deploy-list) > :nth-child(4) { transition-delay: 0.21s; }
    .reveal :is(.grid, .pub-list, .news-list, .logo-row, .cv-list, .deploy-list) > :nth-child(5) { transition-delay: 0.28s; }
    .reveal :is(.grid, .pub-list, .news-list, .logo-row, .cv-list, .deploy-list) > :nth-child(n+6) { transition-delay: 0.35s; }

    /* A short reveal of the hero text on load */
    .js .hero .hero-text > *, .js .hero .portrait { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
    .js .hero .hero-text > :nth-child(2) { animation-delay: 0.06s; }
    .js .hero .hero-text > :nth-child(3) { animation-delay: 0.12s; }
    .js .hero .hero-text > :nth-child(4) { animation-delay: 0.18s; }
    .js .hero .hero-text > :nth-child(5) { animation-delay: 0.24s; }
    .js .hero .hero-text > :nth-child(n+6) { animation-delay: 0.3s; }
    .js .hero .portrait { animation-delay: 0.1s; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}

/* Logos: monochrome and small. On hover they take their colours in the light theme, and their full
   ink in the dark theme, without a box behind them. */
/* Hero affiliations: current ones first, past ones smaller and lighter */
.affil { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1.25rem 2.75rem; margin-top: 2.25rem; }
.affil-group { min-width: 0; }
.used-in { margin-top: 2rem; }
.logo-label { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 0.5rem; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.25rem; list-style: none; padding: 0; }
.logo-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: max(40px, var(--tap));
    min-width: var(--tap);
    padding: 4px 8px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.25s;
}
.logo-row img {
    height: 24px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(1) contrast(1.2);
    opacity: 0.78;
    transition: filter 0.25s, opacity 0.25s;
}
.logo-row a.is-tall img { height: 36px; }
.affil .logo-row img { height: 30px; max-width: 170px; }
.affil .logo-row a.is-tall img { height: 40px; }
.affil .logo-row a.is-wide img { height: 25px; }
/* Phones: the current affiliations stay on one line */
@media (max-width: 559px) {
    .affil .logo-row { gap: 0.4rem 0.6rem; }
    .affil .logo-row a { padding-inline: 4px; }
    .affil .logo-row img { height: 26px; }
    .affil .logo-row a.is-wide img { height: 21px; }
    .affil .logo-row a.is-tall img { height: 36px; }
}
.affil .is-past .logo-row img { height: 24px; max-width: 136px; opacity: 0.62; }
.affil .is-past .logo-row a.is-tall img { height: 32px; }
.affil .is-past .logo-row a:hover img, .affil .is-past .logo-row a:focus-visible img { opacity: 1; }
.logo-row.is-large { gap: 0.75rem 2.25rem; }
.logo-row.is-large img { height: 32px; max-width: 220px; }
.logo-row.is-large a.is-tall img { height: 46px; }
.logo-row a:hover img, .logo-row a:focus-visible img { filter: none; opacity: 1; }
.logo-row a.logo-inv img { filter: grayscale(1) invert(1); }
.logo-row a.logo-inv:hover, .logo-row a.logo-inv:focus-visible { background: #14171c; }
.logo-row a.logo-inv:hover img, .logo-row a.logo-inv:focus-visible img { filter: none; }
:root[data-theme-effective="dark"] .logo-row img { filter: grayscale(1) invert(1) contrast(1.1); opacity: 0.82; }
:root[data-theme-effective="dark"] .logo-row a:hover img, :root[data-theme-effective="dark"] .logo-row a:focus-visible img { filter: grayscale(1) invert(1) contrast(1.1); opacity: 1; }
:root[data-theme-effective="dark"] .logo-row a.logo-inv img { filter: grayscale(1); }
:root[data-theme-effective="dark"] .logo-row a.logo-inv:hover, :root[data-theme-effective="dark"] .logo-row a.logo-inv:focus-visible { background: transparent; }
:root[data-theme-effective="dark"] .logo-row a.logo-inv:hover img, :root[data-theme-effective="dark"] .logo-row a.logo-inv:focus-visible img { filter: grayscale(1); }
:root[data-theme-effective="dark"] .affil .is-past .logo-row img { opacity: 0.62; }
:root[data-theme-effective="dark"] .affil .is-past .logo-row a:hover img,
:root[data-theme-effective="dark"] .affil .is-past .logo-row a:focus-visible img { opacity: 1; }

/* A mark with its name set beside it (Ecole polytechnique). The name breaks only between its words,
   onto two lines at most, and only when one line does not fit. */
.logo-row a.logo-named { gap: 0.6rem; }
.logo-name {
    display: inline-flex;
    flex-wrap: wrap;
    column-gap: 0.3em;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--ink);
    transition: opacity 0.25s;
}
.logo-name > span { white-space: nowrap; }
.logo-row a.logo-named.is-tall img { height: 34px; }
.logo-row.is-large .logo-name { font-size: 1.4375rem; }
.logo-row.is-large a.logo-named.is-tall img { height: 44px; }

/* Rows of wordmarks shown as one set (Used in work by researchers at): every logo in the ink of the
   text, from its transparent file, dark in the light theme and light in the dark theme. */
.logo-row.is-mono img { filter: brightness(0); opacity: 0.8; }
.logo-row.is-mono .logo-name { opacity: 0.8; }
.logo-row.is-mono a:hover img, .logo-row.is-mono a:focus-visible img { filter: none; opacity: 1; }
.logo-row.is-mono a:hover .logo-name, .logo-row.is-mono a:focus-visible .logo-name { opacity: 1; }
:root[data-theme-effective="dark"] .logo-row.is-mono img { filter: brightness(0) invert(1); opacity: 0.86; }
:root[data-theme-effective="dark"] .logo-row.is-mono a:hover img,
:root[data-theme-effective="dark"] .logo-row.is-mono a:focus-visible img { filter: brightness(0) invert(1); opacity: 1; }
:root[data-theme-effective="dark"] .logo-row.is-mono .logo-name { opacity: 0.86; }
:root[data-theme-effective="dark"] .logo-row.is-mono a:hover .logo-name { opacity: 1; }
.cv-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-bottom: 0.6rem; }
.cv-logos img { height: 22px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: 0.7; }
:root[data-theme-effective="dark"] .cv-logos img { filter: grayscale(1) invert(1); }

/* The animated attention graph */
.st-figure {
    margin: 0;
    padding: 1.25rem 1.25rem 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: var(--bg);
}
.band .st-figure { background: var(--bg); }
.st-figure figcaption { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--muted); }
.st-graph { width: 100%; max-width: 440px; margin-inline: auto; overflow: visible; }
.st-graph .g-edges line { stroke: var(--strip-edge); stroke-linecap: round; }
.st-graph .g-nodes circle { fill: var(--c); stroke: var(--strip-node-line); stroke-width: 1.5; }
.st-graph .g-labels text { fill: var(--ink-2); font-family: var(--font-sans); font-size: 17px; font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
    .js .st-graph.is-ready .g-edges line {
        stroke-dasharray: 1;
        stroke-dashoffset: 1;
        transition: stroke-dashoffset 0.9s ease;
        transition-delay: calc(var(--k) * 40ms);
    }
    .js .st-graph.is-ready .g-nodes circle {
        fill: var(--surface-2);
        transition: fill 0.7s ease;
        transition-delay: calc(1.3s + var(--k) * 70ms);
    }
    .js .st-graph.is-played .g-edges line { stroke-dashoffset: 0; }
    .js .st-graph.is-played .g-nodes circle { fill: var(--c); }
    /* Between two plays: back to the start state in about a second, all together */
    .js .st-graph.is-ready.is-rewinding .g-edges line { transition: stroke-dashoffset 0.9s ease; transition-delay: 0s; }
    .js .st-graph.is-ready.is-rewinding .g-nodes circle { transition: fill 0.9s ease; transition-delay: 0s; }
}

/* The spectral-trust page */
.st-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .st-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 4rem; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 4rem; }
@media (min-width: 960px) { .two-col.is-even { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.two-col .section-head { margin-bottom: 0; }
.hero h1.st-title, .st-title {
    font-family: var(--font-sans);
    font-weight: 650;
    font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}
.st-hero .pill-list { margin-top: 1.5rem; }
.st-hero .btn-row { margin-top: 1.75rem; }
.st-install { margin-top: 1.25rem; max-width: 30rem; }
.product-top .st-install { margin-top: 1.25rem; }
.st-split { align-items: start; }

/* Animated views (spectral-trust 0.4.2): the dark renders keep a dark frame in both themes.
   The videos follow the post figures: they play while in view, and only the poster shows when
   motion is reduced (initVideos in site.js). */
.st-video { margin: 0; }
.st-video video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #0f1115;
}
.st-video figcaption { margin-top: 0.65rem; font-size: var(--fs-sm); color: var(--muted); text-wrap: pretty; }
.st-videos { margin-top: var(--card-gap); }
.st-animate { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; margin-top: var(--card-gap); }
.st-animate .code-panel { flex: 0 1 auto; min-width: 0; }
.st-animate .install { padding-right: 1.1rem; }

/* Use-case cards on the library page: what was run, the headline number, one sentence. The whole
   card is the link (the title's ::after covers it). Numbers stay in ink, never the accent. */
.st-uc-grid { margin-top: var(--card-gap); }
@media (min-width: 640px) { .st-uc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .st-uc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.st-uc {
    position: relative;
    gap: 0.75rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.st-uc:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.st-uc:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.st-uc-kicker { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.01em; }
.st-uc-title { font-size: 1.0625rem; font-weight: 650; line-height: 1.35; }
.st-uc-title a { color: var(--ink); text-decoration: none; }
.st-uc-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.st-uc-stat { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.85rem 0 0.8rem; border-block: 1px solid var(--line); }
.st-uc-num { font-size: 1.85rem; font-weight: 650; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.st-uc-unit { font-size: var(--fs-xs); color: var(--muted); }
.card.st-uc p.st-uc-text { color: var(--ink-2); }
.st-uc-more { margin-top: auto; font-size: var(--fs-xs); font-weight: 600; color: var(--accent); }
.st-uc-more::after { content: " \2192"; }
@media (prefers-reduced-motion: reduce) { .st-uc, .st-uc:hover { transition: none; transform: none; } }
.st-uc-cta {
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-tint), var(--orange-tint));
    border-color: color-mix(in srgb, var(--blue) 18%, transparent);
}
.st-uc-cta h3 { font-size: 1.125rem; font-weight: 650; line-height: 1.35; }
.st-uc-cta .btn-row { margin-top: 0.4rem; flex-direction: column; align-items: stretch; }
.st-uc-cta .btn { justify-content: center; text-align: center; }

.speed { display: grid; gap: 1.1rem; align-content: center; }
.speed-row { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 0.75rem; align-items: center; }
.speed-name { font-size: var(--fs-sm); color: var(--ink-2); }
.speed-track { display: flex; align-items: center; gap: 0.6rem; }
.speed-bar {
    display: block;
    height: 14px;
    width: calc(var(--w) * (100% - 4.5rem));
    border-radius: 7px;
    background: var(--line-strong);
    transform-origin: left center;
}
.speed-row.is-new .speed-bar { background: var(--blue); }
.speed-row.is-new .speed-name, .speed-row.is-new .speed-val { color: var(--ink); font-weight: 600; }
.speed-val { font-size: var(--fs-sm); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 559px) { .speed-row { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; } }
@media (prefers-reduced-motion: no-preference) {
    .speed-bar { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
    .reveal.is-pending .speed-bar { transform: scaleX(0); }
    .speed-row:nth-child(2) .speed-bar { transition-delay: 0.12s; }
    .speed-row:nth-child(3) .speed-bar { transition-delay: 0.24s; }
}

.paper-list { list-style: none; padding: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.paper-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.paper-title { font-weight: 600; line-height: 1.4; }
.paper-title a { color: var(--ink); text-decoration-color: var(--line-strong); }
.paper-title a:hover { color: var(--accent); }
.paper-meta { margin-top: 0.25rem; font-size: var(--fs-sm); color: var(--muted); }

/* Writing pages */
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.page-head { padding-block: 3.5rem 1.5rem; }
.page-head h1, .article h1 {
    font-family: var(--font-sans);
    font-weight: 650;
    font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
}
.page-foot { margin-block: 2rem 4rem; }

.post-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.post-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.post-head { display: flex; justify-content: space-between; gap: 0.25rem 1rem; align-items: baseline; flex-wrap: wrap; }
.post-title { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--accent); text-decoration: underline; }
.post-date { font-size: var(--fs-sm); color: var(--muted); white-space: nowrap; }
.post-excerpt { color: var(--ink-2); margin-top: 0.2rem; }
.post-source { font-size: var(--fs-sm); color: var(--muted); font-style: italic; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin-top: 0.5rem; }
.tag {
    font-size: var(--fs-xs);
    padding: 0.05rem 0.55rem;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
}

.article { padding-block: 3.5rem 4.5rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; align-items: center; margin-block: 1rem 2.25rem; color: var(--muted); font-size: var(--fs-sm); }
.article-meta .tag-list { margin: 0; }
.draft-banner, .repost-banner {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-2);
    margin-bottom: 2rem;
    font-size: var(--fs-sm);
}
.draft-banner { background: var(--orange-tint); border-color: transparent; color: var(--ink); }

.prose { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; color: var(--ink); }
.prose h3 { font-size: 1.15rem; margin-top: 1.75rem; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li + li { margin-top: 0.35rem; }
.prose li::marker { color: var(--orange); }
.prose blockquote { border-left: 3px solid var(--orange); padding-left: 1.1rem; color: var(--muted); font-style: italic; }
.prose code { background: var(--surface-2); padding: 0.1rem 0.35rem; border-radius: 4px; color: var(--ink); }
.prose pre { background: var(--code-bg); color: var(--code-ink); border-radius: 12px; padding: 1rem 1.15rem; overflow-x: auto; line-height: 1.65; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: 0.875rem; }

.post-figure { margin-block: 2rem; }
.post-figure video, .post-figure img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #ffffff;
}
.post-figure figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.post-figure.is-dark video, .post-figure.is-dark img { background: #0f1115; }
.post-figure.is-transparent video, .post-figure.is-transparent img { background: transparent; }
.post-figure picture { display: block; }
.post-figure.is-hero { margin-block: 1.5rem 2.25rem; }
.post-figure.is-hero img { border: 0; }

/* headline numbers of a post: a row of tiles with a gradient edge */
.stat-band { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin-block: 1.75rem; list-style: none; padding: 0; }
@media (min-width: 640px) { .stat-band { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-band li {
    position: relative; padding: 1rem 0.9rem 0.9rem; border-radius: 14px; background: var(--surface);
    border: 1px solid transparent;
    background-image: linear-gradient(var(--surface), var(--surface)), linear-gradient(135deg, var(--orange), var(--blue));
    background-origin: border-box; background-clip: padding-box, border-box;
    box-shadow: var(--shadow);
    animation: stat-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.stat-band li:nth-child(2) { animation-delay: 0.08s; }
.stat-band li:nth-child(3) { animation-delay: 0.16s; }
.stat-band li:nth-child(4) { animation-delay: 0.24s; }
.stat-band .stat-value {
    display: block; font-size: 1.85rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--blue), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-band .stat-label { display: block; margin-top: 0.35rem; font-size: var(--fs-xs); line-height: 1.4; color: var(--muted); }
@keyframes stat-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stat-band li { animation: none; } }

.tldr { margin-block: 1.5rem; padding: 1rem 1.15rem; border-radius: 12px; background: var(--blue-tint); border-left: 4px solid var(--blue); }
.tldr p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink); }
.tldr p + p { margin-top: 0.5rem; }
.tldr .tldr-head { font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-ink); }

.article-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; padding-top: 1.25rem; margin-top: 3rem; border-top: 1px solid var(--line); }

/* card-art:start (written by tools/make_card_icons.py, edit the script and run it again) */
.ca-rsn line { stroke-linecap: round; }
.ca-rsn circle { stroke: var(--ink-2); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.ca-rsn .rs-cross { transform-origin: 30px 30px; }
.ca-rsn .rs-halo { fill: none; stroke: var(--orange); stroke-width: 1.6; }
.ca-rsn .rs-flare { fill: var(--orange); stroke: none; }
.ca-rsn .rs-x1 { opacity:.35;stroke:var(--muted);stroke-width:1.3; }
.ca-rsn .rs-x2 { opacity:.35;stroke:var(--muted);stroke-width:1.3; }
.ca-rsn .rs-x3 { opacity:.35;stroke:var(--muted);stroke-width:1.3; }
.ca-rsn .rs-x4 { opacity:.35;stroke:var(--muted);stroke-width:1.3; }
.ca-rsn .rs-a1 { opacity:.9;stroke:var(--blue);stroke-width:1.8; }
.ca-rsn .rs-a2 { opacity:.9;stroke:var(--blue);stroke-width:1.8; }
.ca-rsn .rs-n1 { fill:var(--blue); }
.ca-rsn .rs-n2 { fill:var(--blue); }
.ca-rsn .rs-n3 { fill:var(--blue); }
.ca-rsn .rs-b1 { opacity:.9;stroke:var(--orange);stroke-width:1.8; }
.ca-rsn .rs-b2 { opacity:.9;stroke:var(--orange);stroke-width:1.8; }
.ca-rsn .rs-halo { opacity:.95; }
.ca-rsn .rs-flare { opacity:0;transform:scale(2.7); }
.ca-rsn .rs-n4 { fill:var(--orange); }
.ca-rsn .rs-n5 { fill:var(--orange); }
.ca-rsn .rs-n6 { fill:var(--orange); }
.ca-agt line, .ca-agt path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ca-agt .ag-track { stroke: var(--muted); stroke-width: 1.4; stroke-dasharray: 1.5 3; }
.ca-agt circle { stroke: var(--ink-2); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.ca-agt .ag-agent { fill: var(--blue); }
.ca-agt .ag-tool rect { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.5; }
.ca-agt .ag-tool path { stroke: var(--ink-2); stroke-width: 1.5; }
.ca-agt .ag-call { fill: var(--surface); stroke: var(--blue); stroke-width: 1.6; transform-box: fill-box; }
.ca-agt .ag-shield { fill: var(--blue); stroke: var(--blue); stroke-width: 1.8; transform-box: fill-box; transform-origin: center; }
.ca-agt .ag-track { opacity:.7; }
.ca-agt .ag-e1 { opacity:.85;stroke:var(--blue);stroke-width:1.5; }
.ca-agt .ag-e2 { opacity:.85;stroke:var(--blue);stroke-width:1.5; }
.ca-agt .ag-e3 { stroke:var(--orange);stroke-width:2; }
.ca-agt .ag-c1 { fill:var(--surface); }
.ca-agt .ag-c2 { fill:var(--surface); }
.ca-agt .ag-c3 { fill:var(--orange); }
.ca-agt .ag-tool { opacity:.32; }
.ca-agt .ag-shield { fill-opacity:.18; }
.ca-lgl line, .ca-lgl path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ca-lgl line { stroke-width: 3; }
.ca-lgl .lg-l1, .ca-lgl .lg-l2 { stroke: var(--blue); stroke-width: 1.6; }
.ca-lgl .lg-l3 { stroke: var(--muted); stroke-width: 1.4; }
.ca-lgl .lg-d1 path:first-child, .ca-lgl .lg-d2 path:first-child { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.4; }
.ca-lgl .lg-fold { stroke: var(--ink-2); stroke-width: 1.4; }
.ca-lgl .lg-text { stroke: var(--muted); stroke-width: 1.3; }
.ca-lgl circle { stroke: var(--ink-2); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; }
.ca-lgl .lg-k1, .ca-lgl .lg-k2 { stroke: var(--surface); stroke-width: 1.7; }
.ca-lgl .lg-f3 { stroke: var(--strip-node-line); stroke-width: 1.7; }
.ca-lgl .lg-l3 { opacity:0; }
.ca-lgl .lg-b1 { stroke:var(--blue); }
.ca-lgl .lg-b2 { stroke:var(--blue); }
.ca-lgl .lg-b3 { stroke:var(--orange); }
.ca-lgl .lg-s1 { fill:var(--blue); }
.ca-lgl .lg-s2 { fill:var(--blue); }
.ca-lgl .lg-s3 { fill:var(--orange); }
@media (prefers-reduced-motion: no-preference) {
    .card-art.is-anim * { animation-duration: 6s; animation-timing-function: linear; animation-iteration-count: infinite; animation-fill-mode: both; animation-play-state: paused; }
    .card-art.is-anim.is-live * { animation-play-state: running; }
    .ca-agt.is-anim * { animation-delay: 0.5s; }
    .ca-lgl.is-anim * { animation-delay: 1s; }
    .card-art.is-anim .ca-all { animation-name: ca-fade; }
    .ca-rsn.is-anim .rs-x1,
    .ca-rsn.is-anim .rs-x2,
    .ca-rsn.is-anim .rs-x3,
    .ca-rsn.is-anim .rs-x4,
    .ca-rsn.is-anim .rs-a1,
    .ca-rsn.is-anim .rs-a2,
    .ca-rsn.is-anim .rs-b1,
    .ca-rsn.is-anim .rs-b2,
    .ca-agt.is-anim .ag-e1,
    .ca-agt.is-anim .ag-e2,
    .ca-agt.is-anim .ag-e3,
    .ca-agt.is-anim .ag-shield,
    .ca-lgl.is-anim .lg-l1,
    .ca-lgl.is-anim .lg-l2,
    .ca-lgl.is-anim .lg-l3,
    .ca-lgl.is-anim .lg-b1,
    .ca-lgl.is-anim .lg-b2,
    .ca-lgl.is-anim .lg-b3,
    .ca-lgl.is-anim .lg-k1,
    .ca-lgl.is-anim .lg-k2 { stroke-dasharray: 1; }
    .ca-rsn.is-anim .rs-x1 { animation-name: ca-rsn-x1; }
    .ca-rsn.is-anim .rs-x2 { animation-name: ca-rsn-x2; }
    .ca-rsn.is-anim .rs-x3 { animation-name: ca-rsn-x3; }
    .ca-rsn.is-anim .rs-x4 { animation-name: ca-rsn-x4; }
    .ca-rsn.is-anim .rs-cross { animation-name: ca-rsn-cross; }
    .ca-rsn.is-anim .rs-a1 { animation-name: ca-rsn-a1; }
    .ca-rsn.is-anim .rs-a2 { animation-name: ca-rsn-a2; }
    .ca-rsn.is-anim .rs-n1 { animation-name: ca-rsn-n1; }
    .ca-rsn.is-anim .rs-n2 { animation-name: ca-rsn-n2; }
    .ca-rsn.is-anim .rs-n3 { animation-name: ca-rsn-n3; }
    .ca-rsn.is-anim .rs-left { animation-name: ca-rsn-left; }
    .ca-rsn.is-anim .rs-b1 { animation-name: ca-rsn-b1; }
    .ca-rsn.is-anim .rs-b2 { animation-name: ca-rsn-b2; }
    .ca-rsn.is-anim .rs-halo { animation-name: ca-rsn-halo; }
    .ca-rsn.is-anim .rs-flare { animation-name: ca-rsn-flare; }
    .ca-rsn.is-anim .rs-n4 { animation-name: ca-rsn-n4; }
    .ca-rsn.is-anim .rs-n5 { animation-name: ca-rsn-n5; }
    .ca-rsn.is-anim .rs-n6 { animation-name: ca-rsn-n6; }
    .ca-rsn.is-anim .rs-right { animation-name: ca-rsn-right; }
    .ca-agt.is-anim .ag-track { animation-name: ca-agt-track; }
    .ca-agt.is-anim .ag-e1 { animation-name: ca-agt-e1; }
    .ca-agt.is-anim .ag-e2 { animation-name: ca-agt-e2; }
    .ca-agt.is-anim .ag-e3 { animation-name: ca-agt-e3; }
    .ca-agt.is-anim .ag-c1 { animation-name: ca-agt-c1; }
    .ca-agt.is-anim .ag-c2 { animation-name: ca-agt-c2; }
    .ca-agt.is-anim .ag-c3 { animation-name: ca-agt-c3; }
    .ca-agt.is-anim .ag-agent { animation-name: ca-agt-agent; }
    .ca-agt.is-anim .ag-tool { animation-name: ca-agt-tool; }
    .ca-agt.is-anim .ag-call { animation-name: ca-agt-call; }
    .ca-agt.is-anim .ag-shield { animation-name: ca-agt-shield; }
    .ca-lgl.is-anim .lg-l1 { animation-name: ca-lgl-l1; }
    .ca-lgl.is-anim .lg-l2 { animation-name: ca-lgl-l2; }
    .ca-lgl.is-anim .lg-l3 { animation-name: ca-lgl-l3; }
    .ca-lgl.is-anim .lg-d1 { animation-name: ca-lgl-d1; }
    .ca-lgl.is-anim .lg-d2 { animation-name: ca-lgl-d2; }
    .ca-lgl.is-anim .lg-b1 { animation-name: ca-lgl-b1; }
    .ca-lgl.is-anim .lg-b2 { animation-name: ca-lgl-b2; }
    .ca-lgl.is-anim .lg-b3 { animation-name: ca-lgl-b3; }
    .ca-lgl.is-anim .lg-s1 { animation-name: ca-lgl-s1; }
    .ca-lgl.is-anim .lg-s2 { animation-name: ca-lgl-s2; }
    .ca-lgl.is-anim .lg-s3 { animation-name: ca-lgl-s3; }
    .ca-lgl.is-anim .lg-k1 { animation-name: ca-lgl-k1; }
    .ca-lgl.is-anim .lg-k2 { animation-name: ca-lgl-k2; }
    .ca-lgl.is-anim .lg-f3 { animation-name: ca-lgl-f3; }
    @keyframes ca-fade { 0%{opacity:1;animation-timing-function:ease-in} 5.83%{opacity:0} 7%{opacity:0} 7.17%{opacity:1} 100%{opacity:1} }
    @keyframes ca-rsn-x1 { 0%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} 6.67%{opacity:.35;stroke-dashoffset:0;stroke-width:1.3} 6.83%{opacity:0;stroke-dashoffset:1;stroke-width:1.4} 17.08%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 22.92%{opacity:.55;stroke-dashoffset:0} 29%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 34%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 43.33%{opacity:.9;stroke:var(--blue);stroke-width:1.8;animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{opacity:.35;stroke:var(--muted);stroke-width:1.3} 100%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} }
    @keyframes ca-rsn-x2 { 0%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} 6.67%{opacity:.35;stroke-dashoffset:0;stroke-width:1.3} 6.83%{opacity:0;stroke-dashoffset:1;stroke-width:1.4} 20.83%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 26.67%{opacity:.55;stroke-dashoffset:0} 31%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 36%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 43.33%{opacity:.9;stroke:var(--blue);stroke-width:1.8;animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{opacity:.35;stroke:var(--muted);stroke-width:1.3} 100%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} }
    @keyframes ca-rsn-x3 { 0%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} 6.67%{opacity:.35;stroke-dashoffset:0;stroke-width:1.3} 6.83%{opacity:0;stroke-dashoffset:1;stroke-width:1.4} 23.33%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 29.17%{opacity:.55;stroke-dashoffset:0} 32.33%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 37.33%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 43.33%{opacity:.9;stroke:var(--blue);stroke-width:1.8;animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{opacity:.35;stroke:var(--muted);stroke-width:1.3} 100%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} }
    @keyframes ca-rsn-x4 { 0%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} 6.67%{opacity:.35;stroke-dashoffset:0;stroke-width:1.3} 6.83%{opacity:0;stroke-dashoffset:1;stroke-width:1.4} 24.58%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 30.42%{opacity:.55;stroke-dashoffset:0} 33%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 38%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 43.33%{opacity:.9;stroke:var(--blue);stroke-width:1.8;animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{opacity:.35;stroke:var(--muted);stroke-width:1.3} 100%{opacity:.35;stroke-dashoffset:0;stroke:var(--muted);stroke-width:1.3} }
    @keyframes ca-rsn-cross { 0%{transform:scaleX(1)} 6.67%{transform:scaleX(1)} 6.83%{transform:scaleX(.83)} 43.33%{transform:scaleX(.83);animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{transform:scaleX(1)} 100%{transform:scaleX(1)} }
    @keyframes ca-rsn-a1 { 0%{opacity:.9;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.8} 6.67%{opacity:.9;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.8} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);stroke-width:1.4} 15.83%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 21.67%{opacity:.55;stroke-dashoffset:0} 28.33%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 33.33%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 100%{opacity:.9;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.8} }
    @keyframes ca-rsn-a2 { 0%{opacity:.9;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.8} 6.67%{opacity:.9;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.8} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);stroke-width:1.4} 19.58%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 25.42%{opacity:.55;stroke-dashoffset:0} 30.33%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 35.33%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 100%{opacity:.9;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.8} }
    @keyframes ca-rsn-n1 { 0%{opacity:1;transform:scale(1);fill:var(--blue)} 6.67%{opacity:1;transform:scale(1);fill:var(--blue)} 6.83%{opacity:0;transform:scale(.3);fill:var(--surface)} 7.5%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 12.5%{opacity:1;transform:scale(1)} 44.17%{fill:var(--surface)} 49.17%{fill:var(--blue)} 100%{opacity:1;transform:scale(1);fill:var(--blue)} }
    @keyframes ca-rsn-n2 { 0%{opacity:1;transform:scale(1);fill:var(--blue)} 6.67%{opacity:1;transform:scale(1);fill:var(--blue)} 6.83%{opacity:0;transform:scale(.3);fill:var(--surface)} 8.83%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 13.83%{opacity:1;transform:scale(1)} 45%{fill:var(--surface)} 50%{fill:var(--blue)} 100%{opacity:1;transform:scale(1);fill:var(--blue)} }
    @keyframes ca-rsn-n3 { 0%{opacity:1;transform:scale(1);fill:var(--blue)} 6.67%{opacity:1;transform:scale(1);fill:var(--blue)} 6.83%{opacity:0;transform:scale(.3);fill:var(--surface)} 10.17%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 15.17%{opacity:1;transform:scale(1)} 45.83%{fill:var(--surface)} 50.83%{fill:var(--blue)} 100%{opacity:1;transform:scale(1);fill:var(--blue)} }
    @keyframes ca-rsn-left { 0%{transform:translateX(0)} 6.67%{transform:translateX(0)} 6.83%{transform:translateX(3px)} 43.33%{transform:translateX(3px);animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{transform:translateX(0)} 100%{transform:translateX(0)} }
    @keyframes ca-rsn-b1 { 0%{opacity:.9;stroke-dashoffset:0;stroke:var(--orange);stroke-width:1.8} 6.67%{opacity:.9;stroke-dashoffset:0;stroke:var(--orange);stroke-width:1.8} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);stroke-width:1.4} 18.33%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 24.17%{opacity:.55;stroke-dashoffset:0} 29.67%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 34.67%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 43.33%{stroke:var(--blue);animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{stroke:var(--orange)} 100%{opacity:.9;stroke-dashoffset:0;stroke:var(--orange);stroke-width:1.8} }
    @keyframes ca-rsn-b2 { 0%{opacity:.9;stroke-dashoffset:0;stroke:var(--orange);stroke-width:1.8} 6.67%{opacity:.9;stroke-dashoffset:0;stroke:var(--orange);stroke-width:1.8} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);stroke-width:1.4} 22.08%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 27.92%{opacity:.55;stroke-dashoffset:0} 31.67%{opacity:.55;stroke:var(--muted);stroke-width:1.4} 36.67%{opacity:.9;stroke:var(--blue);stroke-width:1.8} 43.33%{stroke:var(--blue);animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{stroke:var(--orange)} 100%{opacity:.9;stroke-dashoffset:0;stroke:var(--orange);stroke-width:1.8} }
    @keyframes ca-rsn-halo { 0%{opacity:.95;transform:scale(1)} 6.67%{opacity:.95;transform:scale(1)} 6.83%{opacity:0;transform:scale(.5)} 49.17%{opacity:0;transform:scale(.5);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 55%{opacity:.95;transform:scale(1)} 100%{opacity:.95;transform:scale(1)} }
    @keyframes ca-rsn-flare { 0%{opacity:0;transform:scale(2.7)} 6.67%{transform:scale(2.7)} 6.83%{transform:scale(1)} 36.67%{opacity:0} 37.67%{opacity:.8;transform:scale(1);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 48.33%{opacity:0;transform:scale(2.7)} 100%{opacity:0;transform:scale(2.7)} }
    @keyframes ca-rsn-n4 { 0%{opacity:1;transform:scale(1);fill:var(--orange)} 6.67%{opacity:1;transform:scale(1);fill:var(--orange)} 6.83%{opacity:0;transform:scale(.3);fill:var(--surface)} 11.5%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 16.5%{opacity:1;transform:scale(1)} 45.83%{fill:var(--surface)} 50.83%{fill:var(--orange)} 100%{opacity:1;transform:scale(1);fill:var(--orange)} }
    @keyframes ca-rsn-n5 { 0%{opacity:1;transform:scale(1);fill:var(--orange)} 6.67%{opacity:1;transform:scale(1);fill:var(--orange)} 6.83%{opacity:0;transform:scale(.3);fill:var(--surface)} 12.83%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 17.83%{opacity:1;transform:scale(1)} 36.67%{fill:var(--surface)} 41.67%{fill:var(--orange)} 100%{opacity:1;transform:scale(1);fill:var(--orange)} }
    @keyframes ca-rsn-n6 { 0%{opacity:1;transform:scale(1);fill:var(--orange)} 6.67%{opacity:1;transform:scale(1);fill:var(--orange)} 6.83%{opacity:0;transform:scale(.3);fill:var(--surface)} 14.17%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 19.17%{opacity:1;transform:scale(1)} 47.5%{fill:var(--surface)} 52.5%{fill:var(--orange)} 100%{opacity:1;transform:scale(1);fill:var(--orange)} }
    @keyframes ca-rsn-right { 0%{transform:translateX(0)} 6.67%{transform:translateX(0)} 6.83%{transform:translateX(-3px)} 43.33%{transform:translateX(-3px);animation-timing-function:cubic-bezier(.45,0,.25,1)} 50%{transform:translateX(0)} 100%{transform:translateX(0)} }
    @keyframes ca-agt-track { 0%{opacity:.7} 6.67%{opacity:.7} 6.83%{opacity:0} 7.5%{opacity:0} 13.33%{opacity:.7} 100%{opacity:.7} }
    @keyframes ca-agt-e1 { 0%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.5} 6.67%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue)} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted)} 28.33%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 35%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue)} 100%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.5} }
    @keyframes ca-agt-e2 { 0%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.5} 6.67%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue)} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted)} 30.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 37.5%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue)} 100%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue);stroke-width:1.5} }
    @keyframes ca-agt-e3 { 0%{opacity:1;stroke-dashoffset:0;stroke:var(--orange);stroke-width:2} 6.67%{opacity:1;stroke-dashoffset:0;stroke:var(--orange);stroke-width:2} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);stroke-width:1.5} 33.33%{opacity:0;stroke-dashoffset:1;stroke:var(--muted);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 40%{opacity:.85;stroke-dashoffset:0;stroke:var(--blue)} 42.5%{opacity:.85;stroke:var(--blue);stroke-width:1.5} 45%{opacity:1;stroke:var(--orange);stroke-width:3.2;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 50.83%{stroke-width:2} 100%{opacity:1;stroke-dashoffset:0;stroke:var(--orange);stroke-width:2} }
    @keyframes ca-agt-c1 { 0%{opacity:1;transform:scale(1);fill:var(--surface)} 6.67%{opacity:1;transform:scale(1)} 6.83%{opacity:0;transform:scale(.3)} 8.33%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 13.33%{opacity:1;transform:scale(1)} 100%{opacity:1;transform:scale(1);fill:var(--surface)} }
    @keyframes ca-agt-c2 { 0%{opacity:1;transform:scale(1);fill:var(--surface)} 6.67%{opacity:1;transform:scale(1)} 6.83%{opacity:0;transform:scale(.3)} 9.67%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 14.67%{opacity:1;transform:scale(1)} 100%{opacity:1;transform:scale(1);fill:var(--surface)} }
    @keyframes ca-agt-c3 { 0%{opacity:1;transform:scale(1);fill:var(--orange)} 6.67%{opacity:1;transform:scale(1);fill:var(--orange)} 6.83%{opacity:0;transform:scale(.3);fill:var(--surface)} 11%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 16%{opacity:1;transform:scale(1)} 42.5%{fill:var(--surface)} 45%{fill:var(--orange)} 100%{opacity:1;transform:scale(1);fill:var(--orange)} }
    @keyframes ca-agt-agent { 0%{opacity:1;transform:scale(1)} 6.67%{opacity:1;transform:scale(1)} 6.83%{opacity:0;transform:scale(.3)} 7.5%{opacity:0;transform:scale(.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 12.5%{opacity:1;transform:scale(1)} 100%{opacity:1;transform:scale(1)} }
    @keyframes ca-agt-tool { 0%{opacity:.32} 6.67%{opacity:.32} 6.83%{opacity:0} 9.17%{opacity:0} 15%{opacity:1} 54.17%{opacity:1} 60%{opacity:.32} 100%{opacity:.32} }
    @keyframes ca-agt-call { 0%{opacity:1;transform:translateX(0)} 6.67%{opacity:1;transform:translateX(0)} 6.83%{opacity:0;transform:translateX(-15px)} 14.17%{opacity:0} 15.83%{opacity:1;transform:translateX(-15px);animation-timing-function:cubic-bezier(.45,0,.25,1)} 28.33%{transform:translateX(0)} 100%{opacity:1;transform:translateX(0)} }
    @keyframes ca-agt-shield { 0%{opacity:1;stroke-dashoffset:0;fill-opacity:.18;transform:scale(1)} 6.67%{opacity:1;stroke-dashoffset:0;fill-opacity:.18;transform:scale(1)} 6.83%{opacity:0;stroke-dashoffset:1;fill-opacity:0;transform:scale(1.3)} 47.5%{opacity:0;stroke-dashoffset:1;transform:scale(1.3);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 55.83%{opacity:1;stroke-dashoffset:0;fill-opacity:0;transform:scale(1)} 60%{fill-opacity:.18} 100%{opacity:1;stroke-dashoffset:0;fill-opacity:.18;transform:scale(1)} }
    @keyframes ca-lgl-l1 { 0%{opacity:1;stroke-dashoffset:0} 6.67%{opacity:1;stroke-dashoffset:0} 6.83%{opacity:0;stroke-dashoffset:1} 24.17%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 30.83%{opacity:1;stroke-dashoffset:0} 100%{opacity:1;stroke-dashoffset:0} }
    @keyframes ca-lgl-l2 { 0%{opacity:1;stroke-dashoffset:0} 6.67%{opacity:1;stroke-dashoffset:0} 6.83%{opacity:0;stroke-dashoffset:1} 35.83%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 42.5%{opacity:1;stroke-dashoffset:0} 100%{opacity:1;stroke-dashoffset:0} }
    @keyframes ca-lgl-l3 { 0%{opacity:0;stroke-dashoffset:0} 6.67%{stroke-dashoffset:0} 6.83%{stroke-dashoffset:1} 47.5%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 51.67%{opacity:.8;stroke-dashoffset:0} 52.5%{opacity:.8} 56.67%{opacity:0} 100%{opacity:0;stroke-dashoffset:0} }
    @keyframes ca-lgl-d1 { 0%{opacity:1;transform:translateY(0)} 6.67%{opacity:1;transform:translateY(0)} 6.83%{opacity:0;transform:translateY(3px)} 12.5%{opacity:0;transform:translateY(3px);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 18.33%{opacity:1;transform:translateY(0)} 100%{opacity:1;transform:translateY(0)} }
    @keyframes ca-lgl-d2 { 0%{opacity:1;transform:translateY(0)} 6.67%{opacity:1;transform:translateY(0)} 6.83%{opacity:0;transform:translateY(3px)} 15%{opacity:0;transform:translateY(3px);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 20.83%{opacity:1;transform:translateY(0)} 100%{opacity:1;transform:translateY(0)} }
    @keyframes ca-lgl-b1 { 0%{opacity:1;stroke-dashoffset:0;stroke:var(--blue)} 6.67%{opacity:1;stroke-dashoffset:0;stroke:var(--blue)} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted)} 8.33%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 14.17%{opacity:.7;stroke-dashoffset:0} 30.83%{opacity:.7;stroke:var(--muted)} 34.17%{opacity:1;stroke:var(--blue)} 100%{opacity:1;stroke-dashoffset:0;stroke:var(--blue)} }
    @keyframes ca-lgl-b2 { 0%{opacity:1;stroke-dashoffset:0;stroke:var(--blue)} 6.67%{opacity:1;stroke-dashoffset:0;stroke:var(--blue)} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted)} 10.83%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 16.67%{opacity:.7;stroke-dashoffset:0} 42.5%{opacity:.7;stroke:var(--muted)} 45.83%{opacity:1;stroke:var(--blue)} 100%{opacity:1;stroke-dashoffset:0;stroke:var(--blue)} }
    @keyframes ca-lgl-b3 { 0%{opacity:1;stroke-dashoffset:0;stroke:var(--orange)} 6.67%{opacity:1;stroke-dashoffset:0;stroke:var(--orange)} 6.83%{opacity:0;stroke-dashoffset:1;stroke:var(--muted)} 13.33%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 19.17%{opacity:.7;stroke-dashoffset:0} 53.33%{opacity:.7;stroke:var(--muted)} 56.67%{opacity:1;stroke:var(--orange)} 100%{opacity:1;stroke-dashoffset:0;stroke:var(--orange)} }
    @keyframes ca-lgl-s1 { 0%{opacity:1;transform:scale(1);fill:var(--blue)} 6.67%{opacity:1;transform:scale(1);fill:var(--blue)} 6.83%{opacity:0;transform:scale(.4);fill:var(--surface)} 7.5%{opacity:0;transform:scale(.4);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 11.67%{opacity:1;transform:scale(1)} 30.83%{fill:var(--surface)} 33.33%{fill:var(--blue)} 100%{opacity:1;transform:scale(1);fill:var(--blue)} }
    @keyframes ca-lgl-s2 { 0%{opacity:1;transform:scale(1);fill:var(--blue)} 6.67%{opacity:1;transform:scale(1);fill:var(--blue)} 6.83%{opacity:0;transform:scale(.4);fill:var(--surface)} 10%{opacity:0;transform:scale(.4);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 14.17%{opacity:1;transform:scale(1)} 42.5%{fill:var(--surface)} 45%{fill:var(--blue)} 100%{opacity:1;transform:scale(1);fill:var(--blue)} }
    @keyframes ca-lgl-s3 { 0%{opacity:1;transform:translateX(0) scale(1);fill:var(--orange)} 6.67%{opacity:1;transform:translateX(0) scale(1);fill:var(--orange)} 6.83%{opacity:0;transform:translateX(0) scale(.4);fill:var(--surface)} 12.5%{opacity:0;transform:translateX(0) scale(.4);animation-timing-function:cubic-bezier(.2,.7,.2,1)} 16.67%{opacity:1;transform:translateX(0) scale(1)} 53.33%{fill:var(--surface)} 55.83%{transform:translateX(0) scale(1);fill:var(--orange)} 57%{transform:translateX(-1.2px) scale(1)} 58.67%{transform:translateX(1.2px) scale(1)} 60%{transform:translateX(0) scale(1)} 100%{opacity:1;transform:translateX(0) scale(1);fill:var(--orange)} }
    @keyframes ca-lgl-k1 { 0%{opacity:1;stroke-dashoffset:0} 6.67%{opacity:1;stroke-dashoffset:0} 6.83%{opacity:0;stroke-dashoffset:1} 32.5%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 36.67%{opacity:1;stroke-dashoffset:0} 100%{opacity:1;stroke-dashoffset:0} }
    @keyframes ca-lgl-k2 { 0%{opacity:1;stroke-dashoffset:0} 6.67%{opacity:1;stroke-dashoffset:0} 6.83%{opacity:0;stroke-dashoffset:1} 44.17%{opacity:0;stroke-dashoffset:1;animation-timing-function:cubic-bezier(.2,.7,.2,1)} 48.33%{opacity:1;stroke-dashoffset:0} 100%{opacity:1;stroke-dashoffset:0} }
    @keyframes ca-lgl-f3 { 0%{opacity:1} 6.67%{opacity:1} 6.83%{opacity:0} 55%{opacity:0} 57.5%{opacity:1} 100%{opacity:1} }
}
/* card-art:end */

/* Print */
@media print {
    .site-header, .filter-bar, .copy-btn, .skip-link, .more-btn, .theme-toggle { display: none !important; }
    body { background: #fff; color: #000; }
    .reveal.is-pending { opacity: 1 !important; transform: none !important; }
    a { color: #000; }
}
