My personal website
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485/*============================*/
/* 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) *//*============================*/
/* 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;}
/*============================*//* 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;}
/* 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;}
[data-theme="wine"] { --background-dark: #24131d; --surface: #39172b; --borders: #4f1b39; --accent: #e47da8; --accent-muted: #87285e;}
[data-theme="plum"] { --background-dark: #1a1623; --surface: #261c39; --borders: #31234e; --accent: #a699d0; --accent-muted: #4f3685;}
[data-theme="teal"] { --background-dark: #101f1d; --surface: #122f2c; --borders: #143f3c; --accent: #5abdac; --accent-muted: #1c6c66;}
[data-theme="flexoki"] { --background-dark: #100f0f; --surface: #1c1b1a; --borders: #282726; --accent: #e8705f; --accent-muted: #575653;}
/*============================*//* 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;}
pre code { background: none; padding: 0; display: block; color: var(--text-body); font-size: 0.88rem; border: none; box-shadow: none; line-height: 1.5;}
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.82rem; }}
/*============================*//* 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;}
/* 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 - 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 - 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 { 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; }
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 { 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; }
pre, code { background: #f5f5f5; border: 1px solid #ccc; }
blockquote { border-left-color: black; }
img { border: 1px solid black; page-break-inside: avoid; }
hr { background: black; }
.meta { color: #666; }
.breadcrumb, .pager { display: none; }}