@import "tailwindcss" source(none); @import "./tailwind.css"; /* Only the files actually served are scanned -- not node_modules/ or old template experiments. Paths are relative to this file. Several of these pages are generated (git-ignored) by scripts that run BEFORE Tailwind in `npm run build`, so the utilities in their templates exist on disk when the scan happens; explicit @source paths are scanned even though git ignores them. */ @source "../index.html"; @source "../404.html"; @source "../mirrors/index.html"; @source "../tech/index.html"; @source "../experiments/index.html"; @source "../projects/index.html"; @source "../infra/index.html"; @source "../ai/index.html"; /* generated by scripts/build-ai.mjs */ @source "../news/index.html"; /* generated by scripts/build-news.mjs */ @source "../art/index.html"; @source "../papers/index.html"; @source "../papers/essentialism/index.html"; @source "../papers/rrf-score-ceiling/index.html"; @source "../art/essentialism/index.html"; @source "../art/essentialism/play.js"; @source "../essentialism/index.html"; /* the forwarding stub left when essentialism moved under /art/ */ @source "../archive/index.html"; @source "../blog/**/*.html"; /* generated by scripts/build-blog.mjs */ @source "../search/index.html"; @source "../profiles/index.html"; @source "../marfa/index.html"; @source "../speaking/**/*.html"; /* generated by scripts/build-speaking.mjs */ @source "../search.js"; /* builds the search overlay at runtime */ @layer base { @font-face { font-family: "Public Sans"; /* format("woff2"), not the legacy format("woff2-variations") token: the latter came from an early CSS Fonts 4 draft, and a UA that does not recognise a format token SKIPS that src entry. This @font-face has only one entry, so an unrecognised token means the face is never used -- while the fetches all 19 KB of it regardless. */ src: url("/fonts/publicsans-v2.woff2") format("woff2"); font-weight: 400 700; font-display: swap; } } /* The footer's "Top" link is a plain #top anchor rather than a floating button — a fixed control hovering over the page is the pattern the header rework removed, and on narrow screens it would land back on top of content. Smooth scrolling is opt-out for anyone who has asked for less motion. */ @media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } } /* Long contract addresses / URLs in prose must not push the page sideways. */ main { overflow-wrap: anywhere; } /* Light mode — auto via OS preference, manually overridable via the header theme button (html.light / html.dark set by theme.js; "follow system" = no stored key). Palette mirrors the dark brand; wordmark + icons stay #a3a3a3 (works on both). Covers the home page, the header, the footer, and every subpage. */ @media (prefers-color-scheme: light) { html:not(.dark) body.bg-black { background-color: #ffffff; } html:not(.dark) .bg-zinc-800 { background-color: #f4f4f5; } html:not(.dark) .text-neutral-400 { color: #52525b; } html:not(.dark) h3.text-neutral-400 { color: #71717a; } html:not(.dark) .text-neutral-500 { color: #71717a; } html:not(.dark) .text-neutral-300 { color: #3f3f46; } html:not(.dark) .text-white { color: #000000; } } html.light body.bg-black { background-color: #ffffff; } html.light .bg-zinc-800 { background-color: #f4f4f5; } html.light .text-neutral-400 { color: #52525b; } html.light h3.text-neutral-400 { color: #71717a; } html.light .text-neutral-500 { color: #71717a; } html.light .text-neutral-300 { color: #3f3f46; } html.light .text-white { color: #000000; } /* Same hover query Tailwind emits hover:text-white in (future.hoverOnlyWhenSupported). */ @media (prefers-color-scheme: light) and (hover: hover) and (pointer: fine) { html:not(.dark) .hover\:text-white:hover { color: #000000; } } @media (hover: hover) and (pointer: fine) { html.light .hover\:text-white:hover { color: #000000; } } /* Dark is the base, so these are unscoped and the light rules above and below override them. Tailwind's own neutral-500 (#737373) and neutral-600 (#525252) measure 4.43:1 and 2.69:1 on black; neutral-600 carries the two links in the footer build stamp, the card numbers on /projects/ and /experiments/, and the price on /art/essentialism/. Both go to the same #757575 as --ink-soft, which collapses two dim tones into one -- the gap between "passes AA on black" and "is already --ink" is narrow enough that there is little room for a third. */ .text-neutral-500 { color: #757575; } .text-neutral-600 { color: #757575; } /* ...which means light mode needs its own neutral-600, or the line above would lighten it from 7.8:1 to 4.6:1 there. */ @media (prefers-color-scheme: light) { html:not(.dark) .text-neutral-600 { color: #52525b; } /* .bg-zinc-900 had no light override, so the
 on /mirrors/ kept its
       dark #18181b while .text-neutral-400 remapped to #52525b -- 2.29:1, the
       only light-mode contrast failure on the site. */
    html:not(.dark) .bg-zinc-900 { background-color: #f4f4f5; }
}
html.light .text-neutral-600 { color: #52525b; }
html.light .bg-zinc-900 { background-color: #f4f4f5; }

/* Search. Plain CSS rather than utilities because search.js injects the overlay
   markup at runtime; keeping the class names here means no purge surprises. */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 4rem 1rem 1rem;
    background: rgba(0, 0, 0, 0.72);
    overflow-y: auto;
}
/* search.js closes the overlay with the `hidden` attribute, whose Preflight rule
   `[hidden]:where(:not([hidden=until-found])){display:none}` has the SAME specificity
   as `.search-overlay` — and loses on source order, because this file is appended
   after Preflight. Without this rule the closed overlay stays display:flex and covers
   every page. Keep it adjacent to the rule it defends against. */
.search-overlay[hidden] {
    display: none;
}
html.search-open,
html.search-open body {
    overflow: hidden;
}
.search-panel {
    width: 100%;
    max-width: 40rem;
    height: max-content;
    background: #0a0a0a;
    border: 1px solid #27272a;
    overflow: hidden;
}
.search-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-bottom: 1px solid #27272a;
}
.search-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.75rem;
    padding: 0 0.75rem;
    color: #ffffff;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 1rem; /* 16px — anything smaller and iOS zooms the page on focus */
    -webkit-appearance: none;
    appearance: none;
}

/* Replaces the outline removed above: the caret alone is not an indicator for
   anyone navigating by keyboard rather than typing. */
.search-input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}
.search-input::placeholder {
    color: #71717a;
}
.search-close {
    flex: 0 0 auto;
    min-height: 2.75rem;
    padding: 0 0.625rem;
    color: #a3a3a3;
    background: transparent;
    border: 1px solid #3f3f46;
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
}
.search-close:active {
    color: #ffffff;
    border-color: #a3a3a3;
}
@media (hover: hover) and (pointer: fine) {
    .search-close:hover {
        color: #ffffff;
        border-color: #a3a3a3;
    }
}
.search-results {
    margin: 0;
    padding: 0;
    list-style: none;
    max-height: 60vh;
    overflow-y: auto;
}
.search-result {
    display: block;
    padding: 0.875rem 1rem;
    border-top: 1px solid #18181b;
    color: #a3a3a3;
    text-decoration: none;
}
.search-results li:first-child .search-result {
    border-top: 0;
}
.search-result:focus,
.search-result:active {
    background: #18181b;
}
@media (hover: hover) and (pointer: fine) {
    .search-result:hover {
        background: #18181b;
    }
}

/* The overlay's own arrow keys move focus between results, so this is the
   primary keyboard path through search. The background tint alone measured
   1.12:1 against the panel, which is not a focus indicator. */
.search-result:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}
.search-result-title {
    display: block;
    color: #ffffff;
    font-weight: 600;
}
.search-result-meta {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.75rem;
    color: #71717a;
    overflow-wrap: anywhere;
}
.search-result-snippet {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
}
.search-empty {
    padding: 1rem;
    color: #71717a;
    font-size: 0.875rem;
}
.search-hit {
    background: transparent;
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

@media (prefers-color-scheme: light) {
    html:not(.dark) .search-overlay { background: rgba(255, 255, 255, 0.75); }
    html:not(.dark) .search-panel { background: #ffffff; border-color: #d4d4d8; }
    html:not(.dark) .search-form { border-bottom-color: #e4e4e7; }
    html:not(.dark) .search-input { color: #000000; }
    html:not(.dark) .search-input::placeholder { color: #71717a; }
    html:not(.dark) .search-close { color: #52525b; border-color: #d4d4d8; }
    html:not(.dark) .search-close:active { color: #000000; border-color: #52525b; }
    html:not(.dark) .search-result { color: #52525b; border-top-color: #e4e4e7; }
    html:not(.dark) .search-result:focus,
    html:not(.dark) .search-result:active { background: #f4f4f5; }
    html:not(.dark) .search-result-title { color: #000000; }
}
@media (prefers-color-scheme: light) and (hover: hover) and (pointer: fine) {
    html:not(.dark) .search-close:hover { color: #000000; border-color: #52525b; }
    html:not(.dark) .search-result:hover { background: #f4f4f5; }
}
html.light .search-overlay { background: rgba(255, 255, 255, 0.75); }
html.light .search-panel { background: #ffffff; border-color: #d4d4d8; }
html.light .search-form { border-bottom-color: #e4e4e7; }
html.light .search-input { color: #000000; }
html.light .search-input::placeholder { color: #71717a; }
html.light .search-close { color: #52525b; border-color: #d4d4d8; }
html.light .search-close:active { color: #000000; border-color: #52525b; }
html.light .search-result { color: #52525b; border-top-color: #e4e4e7; }
html.light .search-result:focus,
html.light .search-result:active { background: #f4f4f5; }
html.light .search-result-title { color: #000000; }
@media (hover: hover) and (pointer: fine) {
    html.light .search-close:hover { color: #000000; border-color: #52525b; }
    html.light .search-result:hover { background: #f4f4f5; }
}

/* WebKit renders a native