projects

saturn

My website

global.css 56.9 KB · 3072 lines Raw
/*============================*//* josh comeau css reset *//* https://www.joshwcomeau.com/css/custom-css-reset/*//*============================*/*,*::before,*::after {    box-sizing: border-box;}* {    margin: 0;}@media (prefers-reduced-motion: no-preference) {    html {        interpolate-size: allow-keywords;    }}body {    line-height: 1.5;    -webkit-font-smoothing: antialiased;}img,picture,video,canvas,svg {    display: block;    max-width: 100%;}input,button,textarea,select {    font: inherit;}p,h1,h2,h3,h4,h5,h6 {    overflow-wrap: break-word;}@media (min-width: 769px) {    p {        text-wrap: pretty;    }}h1,h2,h3,h4,h5,h6 {    text-wrap: balance;}/*============================*//* fonts - geist pixel square (one weight, no italic), geist mono *//*============================*//* the weight range stops the browser faking bold */@font-face {    font-family: "Geist Pixel";    src: url("./assets/fonts/geistpixel/GeistPixel-Square.woff2")        format("woff2");    font-weight: 100 900;    font-style: normal;    font-display: swap;}/* geist mono, code blocks only: pixel type is proportional, so columns drift */@font-face {    font-family: "Geist Mono";    src: url("./assets/fonts/geistmono/GeistMono-Regular.woff2") format("woff2");    font-weight: 400;    font-style: normal;    font-display: swap;}@font-face {    font-family: "Geist Mono";    src: url("./assets/fonts/geistmono/GeistMono-Italic.woff2") format("woff2");    font-weight: 400;    font-style: italic;    font-display: swap;}/*============================*//* tokens *//*============================*/html {    height: 100%;    font-size: 16px;    scrollbar-gutter: stable;    color-scheme: dark;    /* moss: flexoki greens and base greys, stephango.com/flexoki (MIT) */    --background-dark: #1a1e0c;    --surface: #252d09;    --borders: #313d07;    --text-headings: #f2f0e5;    --text-body: #dad8ce;    --text-secondary: #9f9d96;    --accent: #a0af54;    --accent-muted: #536907;    /* rating scale (out of 5, half steps allowed) */    --rating-terrible: #e86b6b;    --rating-below-average: #d9a441;    --rating-good: #bdbd7f;    --rating-above-average: #a9c94f;    --rating-great: #7ec98f;    /* syntax: same roles as the zed, helix and warp themes */    --syn-fg: #c2c4ba;    --syn-punct: #a2a49b;    --syn-comment: #909585;    --syn-keyword: #ad9be2;    --syn-function: #6fb1d7;    --syn-builtin: #7ac4ad;    --syn-type: #ddc56c;    --syn-variable: #e0775d;    --syn-constant: #e7a86e;    --syn-string: #a9b767;}/* other palettes, picked by theme.js; moss is the no-js default */[data-theme="ink"] {    --background-dark: #101a24;    --surface: #12253b;    --borders: #133051;    --accent: #66a0c8;    --accent-muted: #1a4f8c;    /* syntax */    --syn-fg: #bdc3ca;    --syn-punct: #9ea4aa;    --syn-comment: #838d98;    --syn-keyword: #a79eec;    --syn-function: #6fb2df;    --syn-builtin: #73c6be;    --syn-type: #dbc777;    --syn-variable: #e0796e;    --syn-constant: #eaa77c;    --syn-string: #a2ba75;}[data-theme="wine"] {    --background-dark: #24131d;    --surface: #39172b;    --borders: #4f1b39;    --accent: #e47da8;    --accent-muted: #87285e;    /* syntax */    --syn-fg: #cabfc4;    --syn-punct: #a9a0a5;    --syn-comment: #978790;    --syn-keyword: #b896e2;    --syn-function: #75afdd;    --syn-builtin: #77c4b6;    --syn-type: #ebbe6e;    --syn-variable: #e57268;    --syn-constant: #f0a17b;    --syn-string: #b3b365;}[data-theme="plum"] {    --background-dark: #1a1623;    --surface: #261c39;    --borders: #31234e;    --accent: #a699d0;    --accent-muted: #4f3685;    /* syntax */    --syn-fg: #c3c1cb;    --syn-punct: #a4a1aa;    --syn-comment: #8c8897;    --syn-keyword: #b19ee7;    --syn-function: #7db1de;    --syn-builtin: #7fc5c2;    --syn-type: #e4c584;    --syn-variable: #de7c7b;    --syn-constant: #eba78c;    --syn-string: #adb87b;}[data-theme="teal"] {    --background-dark: #101f1d;    --surface: #122f2c;    --borders: #143f3c;    --accent: #5abdac;    --accent-muted: #1c6c66;    /* syntax */    --syn-fg: #bac5c4;    --syn-punct: #9ca5a4;    --syn-comment: #859794;    --syn-keyword: #a59ee7;    --syn-function: #6bb1da;    --syn-builtin: #73c5b5;    --syn-type: #d6c872;    --syn-variable: #de7965;    --syn-constant: #e5a873;    --syn-string: #9fb970;}[data-theme="flexoki"] {    --background-dark: #100f0f;    --surface: #1c1b1a;    --borders: #282726;    --accent: #e8705f;    --accent-muted: #575653;    /* syntax */    --syn-fg: #c6c2bb;    --syn-punct: #a6a29d;    --syn-comment: #8a847a;    --syn-keyword: #af98ec;    --syn-function: #69b1e0;    --syn-builtin: #6dc6b5;    --syn-type: #e3c363;    --syn-variable: #e8705f;    --syn-constant: #f0a26d;    --syn-string: #a9b761;}/*============================*//* base - elements *//*============================*/body {    max-width: 78ch;    min-height: 100vh;    min-height: 100svh;    display: flex;    flex-direction: column;    margin: 0 auto;    padding: min(3rem, 8vw) min(2rem, 5vw);    font-family:        "Geist Pixel", ui-monospace, "SF Mono", Menlo, Consolas,        "Liberation Mono", "Courier New", monospace;    color: var(--text-body);    background-color: var(--background-dark);}::selection {    background: var(--accent);    color: var(--background-dark);}h1 {    font-size: 1.75rem;    color: var(--text-headings);    margin: 0 0 0.3rem 0;    line-height: 1.2;}h2 {    font-size: 1.35rem;    color: var(--text-headings);    margin: 3rem 0 0.6rem 0;}h3 {    font-size: 1.125rem;    color: var(--text-headings);    margin: 2.25rem 0 0.5rem 0;}/* small label, same as the post kicker */h4 {    font-size: 0.78rem;    color: var(--text-secondary);    margin: 1.5rem 0 0.5rem 0;    letter-spacing: 0.12em;}p {    margin: 0 0 1.2rem 0;    color: var(--text-body);}p,ul,ol {    font-size: 0.9375rem;}p,li {    line-height: 1.65;}a {    color: var(--text-headings);    text-decoration: none;    transition:        border-color 0.15s ease,        color 0.15s ease;}/* text links; classed links are components and style themselves */:where(p, li, td, dd, blockquote, figcaption) > a:not([class]) {    border-bottom: 1px solid var(--accent-muted);}:where(p, li, td, dd, blockquote, figcaption) > a:not([class]):hover {    color: var(--accent);    border-bottom-color: var(--accent);}blockquote {    margin: 1.75rem 0;    padding-left: 1.2rem;    border-left: 3px solid var(--accent-muted);    color: var(--text-secondary);    font-style: italic;}img {    width: 100%;    height: auto;    border: 1px solid var(--borders);    border-radius: 2px;}figcaption {    font-size: 0.85rem;    color: var(--text-secondary);    margin-top: 0.6rem;}code {    font-family:        "Geist Pixel", ui-monospace, "SF Mono", Menlo, Consolas,        "Liberation Mono", "Courier New", monospace;    font-size: 0.9rem;    color: var(--text-headings);    background: var(--surface);    padding: 0.2rem 0.4rem;    border-radius: 4px;    border: 1px solid var(--borders);}pre {    margin: 2rem 0;    padding: 1.25rem;    background: var(--surface);    border: 1px solid var(--borders);    border-radius: 6px;    overflow-x: auto;    tab-size: 4;    scrollbar-color: var(--borders) transparent;}pre code {    background: none;    padding: 0;    display: block;    font-family:        "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas,        "Liberation Mono", monospace;    color: var(--syn-fg);    font-size: 0.84rem;    font-synthesis: none;    border: none;    box-shadow: none;    line-height: 1.5;}/* syntax roles, set by scripts/highlight.mjs */.hl-comment {    color: var(--syn-comment);    font-style: italic;}.hl-keyword {    color: var(--syn-keyword);}.hl-function,.hl-link {    color: var(--syn-function);}.hl-builtin,.hl-escape {    color: var(--syn-builtin);}.hl-type,.hl-self,.hl-changed {    color: var(--syn-type);}.hl-variable,.hl-heading,.hl-removed {    color: var(--syn-variable);}.hl-constant {    color: var(--syn-constant);}.hl-string,.hl-added {    color: var(--syn-string);}.hl-punct {    color: var(--syn-punct);}figure {    margin: 1.5rem 0;}ul,ol {    margin: 0 0 1.2rem 1.5rem;    padding: 0;}li {    margin: 0.35rem 0;    display: list-item;}hr {    border: 0;    height: 1px;    background: var(--borders);    margin-top: 1rem;    margin-bottom: 1rem;    width: 100%;}/*============================*//* base - focus *//*============================*//* Focus visible for keyboard navigation */a:focus-visible,button:focus-visible {    outline: 2px solid var(--accent);    outline-offset: 2px;    border-radius: 2px;}/* Remove default focus for mouse users */a:focus:not(:focus-visible) {    outline: none;}/*============================*//* layout - page width *//*============================*//* wider layout for photo and media walls */body.page--wide {    max-width: min(100rem, 94vw);}@media (max-width: 480px) {    body.page--wide {        max-width: 100%;    }}/*============================*//* layout - site header *//*============================*/.site-header {    display: flex;    flex-wrap: wrap;    align-items: baseline;    justify-content: space-between;    gap: 0.5rem 1.5rem;    padding: 0.5rem 0.5rem 0.75rem;    margin-bottom: 2rem;}.site-name {    color: var(--text-body);    font-size: 30px;}.site-name:hover {    color: var(--accent);}@media (max-width: 600px) {    .site-header {        flex-direction: column;        align-items: flex-start;        gap: 0.75rem;        margin-bottom: 1rem;    }    .site-name {        font-size: 26px;    }    /* one row */    .site-header nav {        width: 100%;        justify-content: space-between;    }}/*============================*//* layout - main, footer, nav *//*============================*/main {    flex: 1;    padding: 0.5rem;}footer {    margin-top: 3rem;    padding: 0.5rem;}/* quieter than the header nav: grey until hovered */footer nav {    font-size: 0.8rem;    letter-spacing: 0.08em;}footer nav a {    color: var(--text-secondary);}/* theme.js shows it; without js it would do nothing */.theme-button {    display: none;    padding: 0;    border: 0;    background: none;    color: var(--text-secondary);    letter-spacing: inherit;    cursor: pointer;    align-self: flex-start;}[data-theme] .theme-button {    display: inline;}footer nav p {    color: var(--accent-muted);}@media (max-width: 600px) {    footer nav p,    footer nav a[href="/pgp.asc"] {        display: none;    }}@media (max-width: 480px) {    footer nav a[href="/changelog/"] {        display: none;    }}nav {    display: flex;    flex-wrap: wrap;    gap: 0.35rem 1.25rem;    font-size: 0.88rem;}.site-header nav a {    color: var(--text-body);}.site-header nav a[aria-current="page"] {    color: var(--accent);}.site-header nav a,footer nav a,.theme-button {    border-bottom: 1px solid transparent;    transition:        color 220ms ease 60ms,        border-bottom-color 220ms ease 60ms;}.site-header nav a:hover,footer nav a:hover,.theme-button:hover {    color: var(--accent);    border-bottom-color: var(--accent);}nav p {    margin: 0 0.5rem 0 0;}/*============================*//* responsive - small screens (768px, then 480px) *//*============================*/@media (max-width: 768px) {    body {        padding: min(2.5rem, 7vw) min(1.75rem, 4vw);    }    h1 {        font-size: 1.6rem;    }}@media (max-width: 480px) {    body {        padding: min(2rem, 6vw) 1rem;    }    .site-header,    main,    footer {        padding-inline: 0;    }    h1 {        font-size: 1.5rem;    }    h2 {        font-size: 1.2rem;        margin-top: 1.75rem;        padding-top: 1rem;    }    h3 {        font-size: 1.05rem;        margin-top: 1.75rem;    }    nav {        gap: 0.25rem 0.75rem;    }    pre {        padding: 1rem;        margin: 1.5rem -0.5rem;        border-radius: 4px;    }    pre code {        font-size: 0.8rem;    }}/*============================*//* components - page header *//*============================*/.page-header {    margin-bottom: 2.75rem;}.page-header h1 {    line-height: 1.4;}.page-header .meta {    font-size: 0.88rem;}/* the home hero is the one heading in the accent */.page-header--home h1 {    color: var(--accent);}/* posts: kicker, title, date */.page-header-kicker {    margin: 0 0 0.5rem;    font-size: 0.78rem;    letter-spacing: 0.12em;    text-transform: uppercase;    color: var(--text-secondary);}.page-header--post h1 {    font-size: 1.6rem;    line-height: 1.3;    margin-bottom: 0.6rem;}.page-header--post .meta {    margin: 0;    font-size: 0.8rem;    letter-spacing: 0.06em;}/* a section page (/books/, /posts/, ...): the kicker is its parent and links   back up, and the meta is a sentence about the page, not a date */.page-header-kicker a {    color: var(--text-secondary);    border-bottom: 1px solid var(--accent-muted);    transition:        color 150ms ease,        border-bottom-color 150ms ease;}.page-header-kicker a:hover {    color: var(--accent);    border-bottom-color: var(--accent);}.page-header--post .meta:not(.caps) {    font-size: 0.88rem;    letter-spacing: normal;    line-height: 1.6;}/* posts: optional banner photo above the header */.post-banner {    display: block;    aspect-ratio: 2 / 1;    margin-bottom: 2rem;}.post-banner img {    display: block;    width: 100%;    height: 100%;    object-fit: cover;}/* crop focus: centre by default. on the banner, or on one photo in a row */.post-banner--high img,.post-banner img.post-banner--high {    object-position: 50% 30%;}.post-banner--low img,.post-banner img.post-banner--low {    object-position: 50% 70%;}.post-banner--left img,.post-banner img.post-banner--left {    object-position: 30% 50%;}.post-banner--right img,.post-banner img.post-banner--right {    object-position: 70% 50%;}/* several photos side by side; phones keep the middle one */.post-banner--row {    display: flex;    gap: 1px;    background: var(--borders);}.post-banner--row img {    flex: 1;    min-width: 0;}@media (max-width: 600px) {    .post-banner--row img:not(:nth-child(2)) {        display: none;    }}@media (max-width: 480px) {    .post-banner {        aspect-ratio: 4 / 3;    }}/*============================*//* components - meta line *//*============================*/.meta {    font-size: 0.85rem;    color: var(--text-secondary);    margin-top: 0.4rem;    margin-bottom: 1.25rem;}.meta-split {    display: flex;    flex-wrap: wrap;    align-items: baseline;    gap: 0.2rem 0.6rem;}.meta-sep {    opacity: 0.6;}@media (max-width: 600px) {    .meta-split {        flex-direction: column;        gap: 0.15rem;    }    .meta-sep {        display: none;    }}/*============================*//* components - breadcrumb *//*============================*/.breadcrumb {    font-size: 0.9rem;    color: var(--text-secondary);    margin-bottom: 1.5rem;    display: block;}.breadcrumb a {    color: var(--text-secondary);    border-bottom: 1px solid var(--accent-muted);}.breadcrumb a:hover {    color: var(--accent);}/*============================*//* components - section label *//*============================*/.section-label {    font-size: 0.78rem;    letter-spacing: 0.12em;    text-transform: uppercase;    color: var(--text-secondary);    margin: 2.5rem 0 0.75rem 0;    padding: 0;}/*============================*//* components - likes + comments *//*============================*//* written in by social/functions/_middleware.js */.post-social {    margin-top: 3rem;    padding-top: 1.25rem;    border-top: 1px dashed var(--borders);}.post-social > .meta {    margin: 0;}.social-head {    display: flex;    justify-content: space-between;    align-items: center;    gap: 1rem;    margin-bottom: 0.5rem;}.social-title {    margin: 0;    font-size: 0.78rem;    letter-spacing: 0.12em;    color: var(--text-secondary);}.comment-thread {    list-style: none;    margin: 0;    padding: 0;}.comment-thread li {    margin: 0;}/* replies: one level, on a rule */.comment-thread .comment-thread {    margin-top: 0.25rem;    padding-left: 1rem;    border-left: 1px solid var(--borders);}.comment {    padding: 1rem 0;}.comment .meta {    display: flex;    flex-wrap: wrap;    gap: 0.25rem 0.75rem;    margin: 0 0 0.5rem;    font-size: 0.78rem;    letter-spacing: 0.04em;}.comment-name {    color: var(--text-headings);}.comment-author {    padding: 0 0.35rem;    border: 1px solid var(--borders);    font-size: 0.7rem;    letter-spacing: 0.08em;    color: var(--accent);}.comment-time,.comment-link {    color: var(--text-secondary);    transition: color 150ms ease;}.comment-time:hover,.comment-link:hover {    color: var(--accent);}.comment-body p {    margin: 0 0 0.5rem;}.comment-link {    font-size: 0.75rem;    letter-spacing: 0.08em;}.social-foot {    display: flex;    flex-wrap: wrap;    justify-content: space-between;    align-items: baseline;    gap: 0.5rem 1rem;    margin-top: 1.5rem;}.social-foot .meta {    margin: 0;    font-size: 0.8rem;}.like-form {    margin: 0;}.like-button {    display: inline-flex;    align-items: center;    gap: 0.4rem;    min-height: 2.25rem;    padding: 0 0.85rem;    border: 1px solid var(--borders);    background: none;    color: var(--text-secondary);    font-size: 0.85rem;    letter-spacing: 0.06em;    cursor: pointer;    transition:        color 150ms ease,        border-color 150ms ease;}.like-button:hover {    color: var(--accent);    border-color: var(--accent);}/* already liked today */.like-button:disabled {    color: var(--accent);    border-color: var(--borders);    cursor: default;}.like-icon {    width: 0.95em;    height: 0.95em;    fill: none;    stroke: currentColor;    stroke-width: 2;    stroke-linejoin: round;}.like-button:disabled .like-icon {    fill: currentColor;}/* /api/moderate */.moderate-actions {    display: flex;    gap: 0.75rem;}/*============================*//* components - pager *//*============================*/.pager {    display: grid;    grid-template-columns: 1fr 1fr;    gap: 1rem;    margin-top: 3.5rem;}.pager-link {    display: flex;    flex-direction: column;    gap: 0.3rem;    padding: 1rem 1.25rem;    border: 1px solid var(--borders);    transition: border-color 150ms ease;}.pager-link:hover {    border-color: var(--accent);}.pager-next {    grid-column: 2;    text-align: right;}.pager-label {    font-size: 0.75rem;    letter-spacing: 0.1em;    text-transform: uppercase;    color: var(--text-secondary);    transition: color 150ms ease;}.pager-title {    font-size: 0.95rem;    line-height: 1.35;    color: var(--text-headings);    transition: color 150ms ease;}.pager-link:hover .pager-label,.pager-link:hover .pager-title {    color: var(--accent);}@media (max-width: 600px) {    .pager {        grid-template-columns: 1fr;        gap: 0.75rem;    }    .pager-link {        padding: 1rem;    }    .pager-next {        grid-column: auto;    }}/*============================*//* components - cards *//*============================*/.card-grid {    display: flex;    flex-wrap: wrap;    gap: 0.75rem;}.card {    box-sizing: border-box;    flex: 1 1 calc(50% - 0.4rem);    min-width: 11rem;    display: flex;    flex-direction: column;    gap: 0.35rem;    padding: 0.875rem 1rem;    border-radius: 10px;    border: 1px solid var(--borders);    background: var(--background-dark);    cursor: pointer;    transition: border-color 150ms ease;}.card p {    margin: 0;    padding: 0;}.card:hover {    border-color: var(--accent);}.card-title {    color: var(--text-headings);    font-size: 0.95rem;    line-height: 1.2;}.card-desc {    color: var(--text-secondary);    font-size: 0.78rem;    line-height: 1.4;}.card:hover .card-title,.card:hover .card-type {    color: var(--accent);}.card-type {    font-size: 0.75rem;    letter-spacing: 0.1em;    color: var(--text-secondary);}/* muted "view all" variant: a centred bar under the grid */.card--more {    border-style: dashed;    opacity: 0.65;    justify-content: center;    align-items: center;    padding-block: 1.1rem;}.card--more:hover {    opacity: 1;}.card:focus-visible {    outline: 2px solid var(--accent);    outline-offset: 4px;    transform: scale(1.03);}/*============================*//* components - pills *//*============================*/.pills {    display: flex;    flex-wrap: wrap;    gap: 0.4rem;    margin-top: 0.6rem;}.pill {    display: inline-flex;    align-items: center;    gap: 0.45rem;    padding: 0.2rem 0.6rem;    border: 1px solid var(--borders);    border-radius: 999px;    font-size: 0.68rem;    letter-spacing: 0.08em;    line-height: 1.4;    color: var(--text-secondary);    white-space: nowrap;}/* in development: a slow pulsing dot (reduced motion stops it).   switched off for now; uncomment to bring it back *//*.pill--dev::before {    content: "";    width: 0.4rem;    height: 0.4rem;    border-radius: 50%;    background: currentColor;    animation: pill-pulse 2.4s ease-in-out infinite;}@keyframes pill-pulse {    50% {        opacity: 0.25;    }}*//*============================*//* components - table *//*============================*/.table {    width: 100%;    border-collapse: collapse;    font-size: 0.88rem;    margin-top: 0.5rem;}/* column headers */.table thead th {    text-align: left;    font-size: 0.75rem;    letter-spacing: 0.12em;    text-transform: uppercase;    color: var(--text-secondary);    padding: 0 1rem 0.6rem 0;    border-bottom: 1px solid var(--borders);}.table thead th.table-col-date {    width: 7rem;}.table thead th.table-col-tag {    width: 5.5rem;}.table thead th.table-col-rating {    width: 5rem;}.table thead th.table-col-label {    width: 11rem;}.table thead th.table-col-desc {    width: 45%;}/* rows */.table-row td {    padding: 0.75rem 1rem 0.75rem 0;    vertical-align: baseline;    border-bottom: 1px solid var(--borders);}.table-row:first-child td {    border-top: 1px solid var(--borders);}.table-row:last-child td {    border-bottom: none;}.table-row:hover {    background: var(--surface);    cursor: pointer;}/* title link */.table-title {    color: var(--text-headings);    font-size: 0.9rem;}.table-title:hover {    color: var(--accent);}.table-row:hover .table-title {    color: var(--accent);}/* date column */.table-date {    color: var(--text-secondary);    font-size: 0.82rem;    white-space: nowrap;}/* tag column */.table-tag {    color: var(--text-secondary);    font-size: 0.82rem;    white-space: nowrap;}/* description column */.table-desc {    color: var(--text-secondary);    font-size: 0.82rem;}/* mobile: stack title above date + tag */@media (max-width: 600px) {    .table,    .table thead,    .table tbody {        display: block;    }    .table thead {        display: none;    }    .table-row {        display: flex;        flex-wrap: wrap;        align-items: baseline;        gap: 0 0.75rem;        padding: 0.7rem 0;        border-bottom: 1px solid var(--borders);    }    .table-row:first-child {        border-top: 1px solid var(--borders);    }    .table-row:last-child {        border-bottom: none;    }    .table .table-row td,    .table .table-row:first-child td,    .table .table-row:last-child td {        display: block;        border-bottom: none;        border-top: none;        padding: 0;    }    .table-row td:first-child {        flex: 0 0 100%;        margin-bottom: 0.25rem;    }    .table-date,    .table-tag,    .table-desc {        font-size: 0.78rem;    }}/*============================*//* components - archive list *//*============================*//* /blog/'s index: one line per entry, title . . . . tag date. no header row   and no rules; the dotted leader carries the eye to the date */.archive {    list-style: none;    margin: 0;    padding: 0;}.archive li {    margin: 0;}.archive-row {    display: flex;    align-items: baseline;    align-items: last baseline;    gap: 0 0.75rem;    padding: 0.45rem 0;    color: var(--text-secondary);}/* the leader: an empty flex item whose dotted bottom border sits on the   baseline, under the last line of a wrapped title */.archive-row::after {    content: "";    order: 1;    flex: 1 1 2rem;    min-width: 2rem;    border-bottom: 1px dotted var(--borders);    transition: border-color 150ms ease;}.archive-title {    order: 0;    color: var(--text-headings);    font-size: 0.9rem;    line-height: 1.45;    transition: color 150ms ease;}.archive-tag,.archive-date {    flex: none;    font-size: 0.75rem;    letter-spacing: 0.08em;    white-space: nowrap;}/* fixed width so the dates line up whatever the tag; the widest   (#projects) is ~11.1ch in the pixel font's caps */.archive-tag {    order: 2;    width: 11.5ch;}.archive-date {    order: 3;    font-variant-numeric: tabular-nums;}.archive-row:hover .archive-title {    color: var(--accent);}.archive-row:hover::after {    border-bottom-color: var(--text-secondary);}/* writing, then notes */.archive + .section-label {    margin-top: 1.75rem;}/* phones: title on its own line, tag and date under it, no leader */@media (max-width: 600px) {    .archive-row {        flex-wrap: wrap;        gap: 0.15rem 0.75rem;        padding: 0.55rem 0;    }    .archive-row::after {        display: none;    }    .archive-title {        flex: 0 0 100%;    }    .archive-tag {        width: auto;    }}/*============================*//* components - posts feed *//*============================*//* my bluesky posts on / and /posts/, written in by social/posts.js.   a quiet log: dashed rules between posts, grey meta row, lime only on   links */.post-item {    display: flex;    flex-direction: column;    gap: 0.75rem;    padding: 1.5rem 0;    scroll-margin-top: 1rem;}.post-item + .post-item {    border-top: 1px dashed var(--borders);}/* arriving from a permalink: the post sits in the panel colour */.post-item:target {    margin-inline: -1rem;    padding-inline: 1rem;    background-color: var(--surface);    box-shadow: inset 2px 0 0 var(--accent);}/* time left, reply right; both grey until hovered, like the footer */.post-item-meta {    display: flex;    flex-wrap: wrap;    justify-content: space-between;    align-items: baseline;    gap: 0.25rem 1rem;    margin: 0;    font-size: 0.75rem;    letter-spacing: 0.08em;}.post-item-time,.post-item-reply {    color: var(--text-secondary);    border-bottom: 1px solid transparent;    transition:        color 150ms ease,        border-bottom-color 150ms ease;}.post-item-time:hover,.post-item-reply:hover {    color: var(--accent);    border-bottom-color: var(--accent);}.post-item-body {    margin: 0;}/* one image keeps its shape, and so do video thumbnails */.post-item-media img,.post-item-video img {    width: auto;    height: auto;    max-height: 26rem;    border: 1px solid var(--borders);    border-radius: 2px;}/* two or more: a cropped grid, two across */.post-item-media--grid {    display: grid;    grid-template-columns: 1fr 1fr;    gap: 0.4rem;}.post-item-media--grid img {    width: 100%;    height: 100%;    aspect-ratio: 1;    object-fit: cover;}/* a video: its thumbnail with a play mark, linking to bluesky to play */.post-item-video {    position: relative;    align-self: flex-start;}.post-item-video::after {    content: "\25B6";    position: absolute;    inset: 50% auto auto 50%;    translate: -50% -50%;    display: grid;    place-items: center;    width: 3rem;    height: 3rem;    padding-left: 0.2rem;    border: 1px solid var(--borders);    background-color: color-mix(in srgb, var(--background-dark) 80%, transparent);    color: var(--text-headings);    font-size: 1rem;    transition:        color 150ms ease,        border-color 150ms ease;}.post-item-video:hover::after {    color: var(--accent);    border-color: var(--accent);}/* link cards and quoted posts */.post-item-card {    display: flex;    flex-direction: column;    gap: 0.3rem;    padding: 0.875rem 1rem;    border: 1px solid var(--borders);    background-color: var(--surface);    transition: border-color 150ms ease;}.post-item-card:hover {    border-color: var(--accent);}.post-item-card-title {    color: var(--text-headings);    font-size: 0.9375rem;}.post-item-card-desc,.post-item-quote-text {    color: var(--text-body);    font-size: 0.85rem;    line-height: 1.55;    display: -webkit-box;    -webkit-box-orient: vertical;    -webkit-line-clamp: 2;    overflow: hidden;}.post-item-quote-text {    -webkit-line-clamp: 4;}.post-item-card-meta {    color: var(--text-secondary);    font-size: 0.75rem;    letter-spacing: 0.04em;}.post-item-quote .post-item-card-meta {    color: var(--text-headings);}.post-item-quote .post-item-card-meta span {    color: var(--text-secondary);}.post-item-note {    margin: 0;    font-size: 0.85rem;}/* a repost: small label before the time, the original post in a panel */.post-item-label {    margin-right: 0.5rem;    color: var(--text-secondary);}.post-item-label::before {    content: "\21BB\00A0";}.post-item-repost {    display: flex;    flex-direction: column;    gap: 0.75rem;    padding: 1rem;    border: 1px solid var(--borders);    background-color: var(--surface);}.post-item-repost > .post-item-card-meta {    margin: 0;    color: var(--text-headings);}.post-item-repost > .post-item-card-meta span {    color: var(--text-secondary);}/* cards inside the panel step back down to the page colour */.post-item-repost .post-item-card {    background-color: var(--background-dark);}/* the first post sits right under the label */.post-feed > .post-item:first-child:not(:target) {    padding-top: 0.25rem;}.post-feed > .meta {    margin: 0;}.post-feed > .post-item:last-child:not(:target) {    padding-bottom: 0.25rem;}/* the newest post on /blog/: a small panel, set apart from the list   under it */.post-card {    display: flex;    flex-direction: column;    gap: 0.5rem;    padding: 1rem 1.25rem;    border: 1px solid var(--borders);    background-color: var(--surface);    transition: border-color 150ms ease;}.post-card:hover {    border-color: var(--accent);}.post-card-meta {    display: flex;    flex-wrap: wrap;    justify-content: space-between;    gap: 0.25rem 1rem;}.post-card-meta,.post-card-extra {    font-size: 0.72rem;    letter-spacing: 0.08em;    color: var(--text-secondary);}.post-card-text {    color: var(--text-headings);    font-size: 0.9375rem;    line-height: 1.6;    display: -webkit-box;    -webkit-box-orient: vertical;    -webkit-line-clamp: 4;    overflow: hidden;}/* "all posts ->" under the posts on / and /blog/ */.post-feed-more {    margin: 1rem 0 0;    font-size: 0.85rem;}/*============================*//* components - id list *//*============================*//* /id/: one account or key per row, the kind on the left, the value and   a grey note on the right. dashed rules between, like the posts feed */.id-list {    margin: 0;}.id-row {    display: grid;    grid-template-columns: 9ch minmax(0, 1fr);    gap: 0 1rem;    padding: 0.7rem 0;}.id-row + .id-row {    border-top: 1px dashed var(--borders);}.id-row dt {    padding-top: 0.15rem;    font-size: 0.75rem;    letter-spacing: 0.08em;    color: var(--text-secondary);}.id-row dd {    display: flex;    flex-direction: column;    align-items: flex-start;    gap: 0.25rem;    margin: 0;    font-size: 0.9375rem;    line-height: 1.5;    color: var(--text-headings);}.id-note {    font-size: 0.8rem;    color: var(--text-secondary);}.id-note > a {    border-bottom: 1px solid var(--accent-muted);}.id-note > a:hover {    color: var(--accent);    border-bottom-color: var(--accent);}/* fingerprints and dids: the code font, free to break anywhere */.id-mono {    font-family:        "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas,        "Liberation Mono", monospace;    font-size: 0.8rem;    color: var(--text-body);    overflow-wrap: anywhere;}.id-note.id-mono {    color: var(--text-secondary);}/* the public key wraps instead of scrolling; copying still gets one line */.id-key code {    white-space: pre-wrap;    overflow-wrap: anywhere;}/* phones: kind above value */@media (max-width: 480px) {    .id-row {        grid-template-columns: minmax(0, 1fr);        gap: 0.3rem;    }}/*============================*//* components - rating *//*============================*/.rating {    color: var(--rating-color, var(--text-secondary));    white-space: nowrap;}a.rating,a.rating:visited {    color: var(--rating-color, var(--text-secondary));    border-bottom: 1px solid transparent;}a.rating:hover,a.rating:focus-visible {    color: var(--rating-color, var(--text-secondary));    border-bottom-color: currentColor;}a.rating:focus-visible {    outline-color: var(--rating-color, var(--text-secondary));}.rating--terrible {    --rating-color: var(--rating-terrible);}.rating--below-average {    --rating-color: var(--rating-below-average);}.rating--good {    --rating-color: var(--rating-good);}.rating--above-average {    --rating-color: var(--rating-above-average);}.rating--great {    --rating-color: var(--rating-great);}/*============================*//* components - code block *//*============================*//* optional file label over a pre, like bat's header */.code-block {    margin: 2rem 0;}.code-block pre {    margin: 0;    border-top-left-radius: 0;    border-top-right-radius: 0;}.code-label {    margin: 0;    padding: 0.45rem 1.25rem;    border: 1px solid var(--borders);    border-bottom: 0;    border-radius: 6px 6px 0 0;    background: var(--background-dark);    font-size: 0.78rem;    color: var(--text-secondary);}@media (max-width: 480px) {    .code-block {        margin: 1.5rem -0.5rem;    }    .code-label {        padding-inline: 1rem;        border-radius: 4px 4px 0 0;    }}/*============================*//* components - images and layout helpers *//*============================*/.img-scaled {    width: auto;    height: auto;    max-width: 100%;    max-height: var(--img-max-height, 26rem);    margin-inline: auto;}.img-scaled--short {    --img-max-height: 18rem;}.img-scaled--medium {    --img-max-height: 24rem;}.img-scaled--tall {    --img-max-height: 30rem;}figure:has(.img-scaled) {    width: fit-content;    max-width: 100%;    margin-inline: auto;}figure:has(.img-scaled) figcaption {    text-align: center;}.two-col-list {    display: flex;    flex-wrap: wrap;    gap: 0 2.5rem;}.two-col-list > * {    flex: 1 1 14rem;    min-width: 0;}/*============================*//* projects - project cards *//*============================*/.project-card {    display: flex;    flex-direction: row;    margin-bottom: 1rem;    border-radius: 16px;    padding: 1.25rem;    border: 1px solid var(--borders);    background: var(--background-dark);    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);    color: inherit;    /* for overlay + smoothness */    position: relative;    overflow: hidden;    transform: translateZ(0);    transform-origin: center;    /* transitions */    transition:        transform 220ms ease,        box-shadow 220ms ease;    will-change: transform;}.project-card h2 {    padding: 0rem;    margin: 0rem;    font-size: 1.75rem;    color: var(--text-headings);    transition: color 220ms ease;}.project-card:hover h2 {    color: var(--accent);}.project-card p {    padding: 0rem;    margin: 0rem;}.project-card-left {    flex: 1;    display: flex;    flex-direction: column;    justify-content: space-between;    margin-right: 1rem;}.project-card-right {    padding: 0rem;    margin: 0rem;}.project-card::before {    content: "";    position: absolute;    inset: 0;    border-radius: inherit;    background: radial-gradient(        ellipse at top left,        color-mix(in srgb, var(--accent) 6%, transparent),        transparent 70%    );    opacity: 0;    transition: opacity 220ms ease;    pointer-events: none;}.project-card:hover {    transform: scale(1.05);    box-shadow:        0 20px 50px rgba(0, 0, 0, 0.5),        0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent);}.project-card:hover::before {    opacity: 1;}/* keep actual content above overlay */.project-card > * {    position: relative;    z-index: 1;}.project-card-img {    width: 30rem;    height: auto;    display: block;    border-radius: 12px;    border: 1px solid var(--borders);    box-shadow:        0 8px 24px rgba(0, 0, 0, 0.5),        0 2px 8px rgba(0, 0, 0, 0.3);    transition:        transform 220ms ease,        box-shadow 220ms ease;}.project-card:hover .card-type {    color: var(--accent);}.project-card:hover .project-card-img {    transform: scale(1.02);    box-shadow:        0 12px 32px rgba(0, 0, 0, 0.6),        0 4px 12px rgba(0, 0, 0, 0.4),        0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);}.project-card:focus-visible {    outline: 2px solid currentColor;    outline-offset: 4px;    transform: scale(1.05);}@media (max-width: 768px) {    .project-card {        flex-direction: column;        gap: 1rem;    }    .project-card-left {        margin-right: 0;    }    .project-card-img {        width: 100%;    }    .project-card:hover,    .project-card:focus-visible {        transform: none;    }}@media (prefers-reduced-motion: reduce) {    .project-card,    .project-card::before,    .project-card-img {        transition: none;    }}/*============================*//* projects - project page *//*============================*/.project-banner {    position: relative;    border: 1px solid var(--borders);    border-radius: 0.75rem;    overflow: hidden;    background: linear-gradient(        135deg,        var(--surface) 0%,        var(--background-dark) 50%,        var(--surface) 100%    );    padding: 2rem;    height: 20rem;    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);}.project-banner-background {    position: absolute;    inset: 0;}.project-banner-img {    position: relative;    display: block;    width: 93%;    height: auto;    margin: 2rem auto 0;    border: 3px solid rgba(255, 255, 255, 0.25);    border-radius: 0.5rem;}/* the saturn screenshot follows the palette theme.js picked */.saturn-shot {    aspect-ratio: 961 / 1101;    background: url("https://assets.danieldaum.net/img/misc/saturn-moss.webp")        center / cover;}/* on /projects/'s card: portrait, so narrower than the other card images;   leaves the text about half the card. the project page banner keeps its size */@media (min-width: 769px) {    .project-card .saturn-shot {        width: 18rem;    }}[data-theme="ink"] .saturn-shot {    background-image: url("https://assets.danieldaum.net/img/misc/saturn-ink.webp");}[data-theme="wine"] .saturn-shot {    background-image: url("https://assets.danieldaum.net/img/misc/saturn-wine.webp");}[data-theme="plum"] .saturn-shot {    background-image: url("https://assets.danieldaum.net/img/misc/saturn-plum.webp");}[data-theme="teal"] .saturn-shot {    background-image: url("https://assets.danieldaum.net/img/misc/saturn-teal.webp");}[data-theme="flexoki"] .saturn-shot {    background-image: url("https://assets.danieldaum.net/img/misc/saturn-flexoki.webp");}.project-header {    display: flex;    flex-direction: column;    gap: 0.35rem;    margin-top: 2rem;}.project-header-title {    margin: 0;    font-size: 2rem;    line-height: 1.2;    color: var(--accent);}.project-header-desc {    font-size: 0.95rem;    color: var(--text-secondary);}.project-stats {    display: flex;    flex-wrap: wrap;    gap: 1.5rem 2.5rem;    margin: 0.5rem 0 2.75rem;    padding: 1.5rem 0;    border-top: 1px solid var(--borders);    border-bottom: 1px solid var(--borders);}.project-stat-label {    font-size: 0.72rem;    letter-spacing: 0.12em;    text-transform: uppercase;    color: var(--text-secondary);    margin-bottom: 0.4rem;}.project-stat-value {    font-size: 0.92rem;    color: var(--text-headings);}@media (max-width: 600px) {    .project-stats {        flex-direction: column;        gap: 1.25rem;    }}/*============================*//* projects - version history *//*============================*//* past versions of a project, oldest first: date and commit, title,   screenshot, a line or two */.version-list {    list-style: none;    margin: 0;    padding: 1rem 0 1rem min(2.25rem, 6vw);    border-left: 1px solid var(--borders);}.version-list > li {    margin: 0;}.version-list > li + li {    margin-top: 3rem;}.version-meta {    display: flex;    gap: 1rem;    margin: 0;    font-size: 0.75rem;    letter-spacing: 0.1em;    color: var(--text-secondary);}.version-hash {    color: var(--text-secondary);}.version-hash:hover {    color: var(--accent);}.version-list h3 {    margin: 0.3rem 0 0.75rem 0;}.version-list figure {    margin: 0 0 1rem 0;}/*============================*//* projects - commit log *//*============================*//* recent commits, written by hand. stands in for a screenshot: in the   project banner and on the /projects/ card */.commit-log {    position: relative;    width: 100%;    max-width: 40rem;    margin: 0 auto;    padding: 1rem 1.25rem;    border: 1px solid var(--borders);    border-radius: 0.5rem;    background: var(--surface);    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);}.commit-log-head a {    color: var(--text-secondary);}.commit-log-head a:hover {    color: var(--accent);}.commit-log-head {    display: flex;    justify-content: space-between;    gap: 1rem;    margin-bottom: 0.6rem;    padding-bottom: 0.6rem;    border-bottom: 1px dashed var(--borders);    font-size: 0.72rem;    letter-spacing: 0.08em;    color: var(--text-secondary);}.commit-log-list {    list-style: none;    margin: 0;    padding: 0;}.commit-log-row {    display: grid;    grid-template-columns: auto minmax(0, 1fr) auto;    gap: 1rem;    margin: 0;    padding: 0.3rem 0;    font-size: 0.82rem;    line-height: 1.5;}.commit-log-hash,.commit-log-date {    color: var(--text-secondary);    font-variant-numeric: tabular-nums;}.commit-log-msg {    color: var(--text-headings);    overflow: hidden;    text-overflow: ellipsis;    white-space: nowrap;}/* banner: grows to fit the log instead of a fixed height */.project-banner--log {    display: flex;    align-items: center;    height: auto;    min-height: 20rem;}/* /projects/ card: takes the screenshot's spot and shrinks like it */.project-card-right:has(> .commit-log) {    flex: 0 1 30rem;    min-width: 0;}.project-card .commit-log {    box-shadow: none;}/* no room for the hash next to the card text */.project-card .commit-log-row {    grid-template-columns: minmax(0, 1fr) auto;}.project-card .commit-log-hash {    display: none;}/* card stacks: the 30rem basis would become its height */@media (max-width: 768px) {    .project-card-right:has(> .commit-log) {        flex: none;    }}/* phones: banner rows put hash and date on one line, the message under them */@media (max-width: 600px) {    .project-banner--log {        padding: 1rem;    }    .commit-log {        padding: 0.875rem 1rem;    }    .project-banner .commit-log-row {        grid-template-columns: auto 1fr;        gap: 0.1rem 1rem;    }    .project-banner .commit-log-date {        text-align: right;    }    .project-banner .commit-log-msg {        grid-column: 1 / -1;        grid-row: 2;        white-space: normal;    }}/*============================*//* photos - photo wall *//*============================*/.photo-wall {    display: grid;    grid-template-columns: repeat(4, 1fr);    gap: 0.85rem;}.photo-tile {    position: relative;    margin: 0;    border-radius: 2px;    overflow: hidden;}.photo-tile img {    margin: 0;    width: 100%;    height: 100%;    aspect-ratio: 4 / 5;    object-fit: cover;}.photo-link {    display: block;}.photo-caption {    position: absolute;    inset: auto 0 0 0;    margin: 0;    padding: 1.75rem 0.85rem 0.75rem;    background: linear-gradient(        to top,        color-mix(in srgb, var(--background-dark) 92%, transparent) 0%,        color-mix(in srgb, var(--background-dark) 50%, transparent) 60%,        transparent 100%    );    backdrop-filter: blur(3px);    -webkit-backdrop-filter: blur(3px);    font-size: 0.8rem;    line-height: 1.4;    opacity: 0;    transform: translateY(6px);    transition:        opacity 200ms ease,        transform 200ms ease;    pointer-events: none;}.photo-tile:hover .photo-caption,.photo-tile:focus-within .photo-caption {    opacity: 1;    transform: translateY(0);}.photo-caption-name {    display: block;    color: var(--text-headings);}.photo-caption-location {    display: block;    margin-top: 0.15rem;    color: var(--text-secondary);    font-size: 0.75rem;}.photo-caption-date {    display: block;    margin-top: 0.15rem;    color: var(--text-secondary);    font-size: 0.7rem;    letter-spacing: 0.06em;}.photo-tile--new {    outline: 1px solid var(--accent);    outline-offset: -1px;}/* the caption paints over the inset outline; keep it inside the border */.photo-tile--new .photo-caption {    inset: auto 1px 1px 1px;}.new-tag {    color: var(--accent);    font-size: 0.7rem;    letter-spacing: 0.08em;    text-transform: uppercase;}@media (max-width: 900px) {    .photo-wall {        grid-template-columns: repeat(2, 1fr);    }}@media (max-width: 480px) {    .photo-wall {        grid-template-columns: 1fr;    }}/*============================*//* photos - lightbox *//*============================*/.lightbox {    display: none;    position: fixed;    inset: 0;    z-index: 100;}.lightbox:target {    display: block;}.lightbox-backdrop {    position: absolute;    inset: 0;    background: color-mix(in srgb, var(--background-dark) 94%, transparent);}.lightbox-content {    position: relative;    z-index: 1;    margin: 6vh auto 0;    max-width: 92vw;    max-height: 88vh;    display: flex;    flex-direction: column;    align-items: center;    pointer-events: none;}.lightbox-content > * {    pointer-events: auto;}.lightbox-content img {    max-width: 92vw;    max-height: 68vh;    width: auto;    height: auto;    margin: 0;}.lightbox-meta {    margin-top: 0.85rem;    text-align: center;}.lightbox-meta-name {    margin: 0 0 0.35rem;    color: var(--text-headings);    font-size: 0.95rem;}/* link to the photo's own page */.lightbox-details {    font-size: 0.75rem;    letter-spacing: 0.08em;    color: var(--text-secondary);}.lightbox-details:hover {    color: var(--accent);}.lightbox-close,.lightbox-nav {    position: fixed;    color: var(--text-headings);    line-height: 1;}.lightbox-close:hover,.lightbox-nav:hover,.lightbox-close:focus-visible,.lightbox-nav:focus-visible {    color: var(--accent);}.lightbox-close {    top: 1.25rem;    right: 1.5rem;    font-size: 1.4rem;    padding: 0.4rem 0.6rem;}.lightbox-nav {    top: 50%;    transform: translateY(-50%);    font-size: 2.25rem;    padding: 0.5rem 0.85rem;}.lightbox-prev {    left: 0.5rem;}.lightbox-next {    right: 0.5rem;}@media (max-width: 600px) {    .lightbox-nav {        font-size: 1.75rem;        padding: 0.4rem 0.6rem;    }    .lightbox-close {        top: 0.75rem;        right: 1rem;    }}/*============================*//* photos - photo pages *//*============================*//* whole photo beside its details; heading and list reuse .entry-heading / .entry-meta */.photo-entry {    display: grid;    grid-template-columns: minmax(0, 3fr) minmax(12rem, 2fr);    gap: 2rem;    align-items: start;}.photo-entry-link {    display: block;    width: fit-content;    max-width: 100%;}.photo-entry-link img {    display: block;    width: auto;    height: auto;    max-width: 100%;    max-height: 85vh;    max-height: 85svh;    margin: 0;    border: 1px solid var(--borders);}@media (max-width: 600px) {    .photo-entry {        grid-template-columns: 1fr;        gap: 1.5rem;    }}/*============================*//* trackers - media walls (books, movies, shows, games, music) *//*============================*/.tracker-wall {    display: grid;    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));    gap: 1.5rem 1.1rem;    margin-bottom: 3rem;    list-style: none;    padding: 0;}.tracker-wall--favorites {    padding-bottom: 2.75rem;    border-bottom: 1px solid var(--borders);    margin-bottom: 0.5rem;}.tracker-tile {    margin: 0;    min-width: 0;}.tracker-link {    display: block;}.tracker-cover {    position: relative;    display: block;    aspect-ratio: 2 / 3;    border: 1px dashed var(--borders);    border-radius: 2px;    overflow: hidden;    background: var(--surface);    transition:        outline-color 0.15s ease,        opacity 0.15s ease;    outline: 1px solid transparent;    outline-offset: -1px;}.tracker-cover::after {    content: "NO COVER";    position: absolute;    inset: 0;    display: flex;    align-items: center;    justify-content: center;    color: var(--text-secondary);    font-size: 0.65rem;    letter-spacing: 0.1em;}.tracker-cover:has(img) {    border-style: solid;}.tracker-cover:has(img)::after {    content: none;}.tracker-cover--square {    aspect-ratio: 1 / 1;}.tracker-cover--boxart {    aspect-ratio: 3 / 4;}.tracker-cover img {    position: absolute;    inset: 0;    margin: 0;    width: 100%;    height: 100%;    object-fit: cover;}.tracker-link:hover .tracker-cover,.tracker-link:focus-visible .tracker-cover {    outline-color: var(--accent);    opacity: 0.85;}.tracker-caption {    display: block;    margin-top: 0.5rem;    font-size: 0.78rem;    line-height: 1.35;}.tracker-caption-title {    display: block;    color: var(--text-headings);}.tracker-link:hover .tracker-caption-title,.tracker-link:focus-visible .tracker-caption-title {    color: var(--accent);}.tracker-caption-sub {    display: block;    color: var(--text-secondary);    font-size: 0.72rem;}.tracker-caption-line {    display: flex;    flex-wrap: wrap;    align-items: baseline;    gap: 0.4rem;    margin-top: 0.15rem;    color: var(--text-secondary);    font-size: 0.7rem;    letter-spacing: 0.06em;}/*============================*//* trackers - entry pages *//*============================*/.entry-hero {    display: grid;    grid-template-columns: 14rem 1fr;    gap: 2rem;    align-items: start;}.entry-heading h1 {    line-height: 1.3;    margin: 0 0 1rem;}.entry-meta {    display: flex;    flex-direction: column;    gap: 0.4rem;    margin: 0;    padding: 0;    list-style: none;    color: var(--text-secondary);    font-size: 0.85rem;}.entry-meta li {    margin: 0;}@media (max-width: 600px) {    .entry-hero {        grid-template-columns: 1fr;        gap: 1.5rem;    }    .entry-cover {        width: 11rem;    }}@media (max-width: 480px) {    .tracker-wall {        grid-template-columns: repeat(2, 1fr);    }}/*============================*//* ratings - color swatches *//*============================*/.swatch-row {    display: flex;    flex-wrap: wrap;    gap: 0.75rem;    margin-bottom: 1.5rem;}.swatch {    display: flex;    flex-direction: column;    gap: 0.4rem;    min-width: 9rem;}.swatch-block {    background-color: var(--rating-color, transparent);    width: 100%;    height: 3.5rem;    border-radius: 6px;    border: 1px solid var(--borders);}.swatch-name {    font-size: 0.75rem;    color: var(--text-secondary);    margin: 0;}.swatch-value {    font-size: 0.7rem;    color: var(--text-secondary);    margin: 0;    opacity: 0.7;}/*============================*//* utilities *//*============================*/.text-center {    text-align: center;}/* Skip link, hidden until focused */.skip-link {    position: absolute;    top: -3rem;    left: 0.5rem;    z-index: 200;    padding: 0.4rem 0.75rem;    background: var(--background-dark);    border: 1px solid var(--accent);}.skip-link:focus {    top: 0.5rem;}/* Caps are visual only; source text stays readable for screen readers */.caps,h4,.site-name,.site-header nav a,footer nav a,.theme-button,.breadcrumb,.page-header h1,.project-header-title,.project-card h2,.card-type,.project-stat-value,.card-title,.meta-split > span,.table-title,.table-date,.entry-heading h1,.pager-title,.photo-caption-date,.lightbox-details,.tracker-caption-line,.archive-title,.archive-tag,.archive-date,.pill,.commit-log-head,.commit-log-date,.version-date,.social-title,.comment-author,.comment-time,.comment-link,.id-row dt,.post-item-time,.post-item-reply,.post-item-label,.post-card-meta,.post-card-extra {    text-transform: uppercase;}/*============================*//* preferences - contrast, motion *//*============================*//* High contrast mode support */@media (prefers-contrast: more) {    html,    [data-theme] {        --text-body: #ffffff;        --text-secondary: #cccccc;        --text-headings: #ffffff;        --accent: #ffff00;        --borders: #ffffff;        --accent-muted: #444444;        --rating-terrible: #ff9494;        --rating-below-average: #ffc24d;        --rating-good: #ffffff;        --rating-above-average: #d4f06a;        --rating-great: #8dffab;        /* flexoki 200, at least 6.8:1 on every surface */        --syn-fg: #ffffff;        --syn-punct: #e6e4d9;        --syn-comment: #cccccc;        --syn-keyword: #c4b9e0;        --syn-function: #92bfdb;        --syn-builtin: #87d3c3;        --syn-type: #eccb60;        --syn-variable: #f89a8a;        --syn-constant: #f9ae77;        --syn-string: #bec97e;    }    a {        text-decoration: underline;    }    code {        border: 2px solid var(--borders);    }}/* Reduced motion preferences */@media (prefers-reduced-motion: reduce) {    *,    *::before,    *::after {        animation-duration: 0.01ms !important;        animation-iteration-count: 1 !important;        transition-duration: 0.01ms !important;        scroll-behavior: auto !important;    }}/*============================*//* print *//*============================*/@media print {    html,    [data-theme] {        --text-body: #100f0f;        --text-headings: #100f0f;        --text-secondary: #575653;        --background-dark: #ffffff;        --surface: #f5f5f5;        --borders: #cccccc;        --accent: #100f0f;        --rating-terrible: #af3029;        --rating-below-average: #bc5215;        --rating-good: #8e6b01;        --rating-above-average: #536907;        --rating-great: #1c6c66;        /* flexoki 600/700, all at least 4.5:1 on #f5f5f5 */        --syn-fg: #100f0f;        --syn-punct: #575653;        --syn-comment: #6f6e69;        --syn-keyword: #5e409d;        --syn-function: #205ea6;        --syn-builtin: #1c6c66;        --syn-type: #8e6b01;        --syn-variable: #af3029;        --syn-constant: #9d4310;        --syn-string: #536907;    }    pre {        white-space: pre-wrap;        overflow-wrap: anywhere;        break-inside: avoid;    }    .code-label {        break-after: avoid;    }    body {        background: white;        color: black;        display: block;        min-height: auto;        max-width: none;        padding: 1rem;        font-size: 11pt;        line-height: 1.4;    }    header,    main,    footer {        padding: 0.25rem 0;    }    h1 {        font-size: 1.4rem;        color: black;        page-break-after: avoid;    }    h2,    h3 {        color: black;        page-break-after: avoid;        border: none;    }    p,    li {        orphans: 3;        widows: 3;    }    a {        color: black;        text-decoration: underline;        background: none;        border: none;    }    a[href^="mailto:"]:after {        content: " (" attr(href) ")";        font-size: 0.75em;    }    a[href^="http"]:after {        content: " (" attr(href) ")";        font-size: 0.75em;    }    nav {        display: none;    }    blockquote {        border-left-color: black;    }    img {        border: 1px solid black;        page-break-inside: avoid;    }    hr {        background: black;    }    .meta {        color: #666;    }    .breadcrumb,    .pager {        display: none;    }}