@charset "UTF-8";
/* Andrew Snape — minimal, typography-first theme */
:root { --bg:      #fdfdfb; --text:    #1b1b18; --muted:   #6e6e68; --border:  #e6e5e0; --code-bg: #f4f3ef; --max-width: 700px; --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); }

h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote, figure, pre { margin: 0 0 1.2em; }

a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }

a:hover { text-decoration-color: var(--text); }

.wrapper { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* header */
.site-header { border-bottom: 1px solid var(--border); padding: 1.75rem 0; }

.site-header .wrapper { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

.site-title { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }

.site-logo { display: block; border-radius: 6px; }

.site-title-text { display: flex; flex-direction: column; line-height: 1.25; }

.site-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }

.site-tagline { font-family: var(--mono); font-size: 0.68rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.site-nav { display: flex; gap: 1.25rem; }

.site-nav a { font-size: 0.95rem; color: var(--muted); text-decoration: none; }

.site-nav a:hover { color: var(--text); }

/* main content */
.page-content { flex: 1; padding: 2.5rem 0 4rem; }

/* homepage */
.wrapper:has(> .home) { max-width: 1080px; }

.home > p { color: var(--muted); margin-bottom: 2.5rem; font-size: 1.05rem; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }

.post-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--border); border-radius: 10px; text-decoration: none; color: var(--text); background: var(--bg); transition: border-color 0.15s ease; }

.post-card:hover { border-color: var(--text); }

.post-card-meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.7rem; }

.post-card-title { font-size: 1.15rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; margin: 0 0 0.6rem; }

.post-card-excerpt { font-size: 0.92rem; color: var(--muted); margin: 0 0 1.1rem; flex: 1; }

.post-card-more { font-size: 0.82rem; font-weight: 600; }

.rss-subscribe { margin-top: 2rem; font-size: 0.9rem; color: var(--muted); }

.rss-subscribe a { color: var(--muted); }

/* post / page */
.post-header { margin-bottom: 2rem; }

.post-title { font-size: 1.9rem; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 0.5rem; }

.post-meta { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.post-content { font-size: 1.05rem; }

.post-content h2 { font-size: 1.35rem; margin-top: 2rem; letter-spacing: -0.01em; }

.post-content h3 { font-size: 1.1rem; margin-top: 1.75rem; }

.post-content ul, .post-content ol { padding-left: 1.4rem; }

.post-content li { margin-bottom: 0.4em; }

.post-content blockquote { border-left: 3px solid var(--border); padding-left: 1rem; color: var(--muted); font-style: italic; }

.post-content img { max-width: 100%; }

code, pre, .highlight { font-family: var(--mono); font-size: 0.85em; }

code { background: var(--code-bg); padding: 0.15em 0.4em; border-radius: 3px; }

pre { background: var(--code-bg); padding: 1rem 1.2rem; border-radius: 6px; overflow-x: auto; border: 1px solid var(--border); }

pre code { background: none; padding: 0; }

.post-nav { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

.post-nav a { font-size: 0.9rem; text-decoration: none; color: var(--muted); }

.post-nav a:hover { color: var(--text); }

/* last.fm now-playing widget */
.lastfm-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }

.lastfm-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; min-width: 0; }

.lastfm-row a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }

.lastfm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }

.lastfm-dot.is-live { background: #6bbf59; animation: lastfm-pulse 1.8s ease-in-out infinite; }

@keyframes lastfm-pulse { 0%, 100% { opacity: 1; }
  50% { opacity: 0.35; } }

.lastfm-label { font-family: var(--mono); font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; min-width: 5.5em; flex-shrink: 0; }

/* boombox chassis around the widget -- one continuous housing, not separate shapes, so the speakers read as part of the same object rather than floating disconnected circles. */
.boombox { position: relative; display: flex; align-items: center; gap: 0.6rem; margin-top: 1.75rem; max-width: 34rem; margin-left: auto; margin-right: auto; border: 2px solid var(--text); border-radius: 20px; background: var(--bg); padding: 0.85rem; }

.boombox-speaker { position: relative; width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 2px solid var(--text); flex-shrink: 0; overflow: hidden; background-image: radial-gradient(var(--border) 1px, transparent 1.2px); background-size: 7px 7px; background-position: center; }

.boombox-speaker::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; border: 2px solid var(--text); background: var(--bg); }

.boombox-body { position: relative; flex: 1; min-width: 0; padding-top: 0.55rem; }

.boombox-handle { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); width: 40%; max-width: 8rem; height: 13px; border: 2px solid var(--text); border-radius: 7px; background: repeating-linear-gradient(90deg, var(--bg) 0, var(--bg) 3px, var(--border) 3px, var(--border) 4px); }

.boombox-tuner { position: relative; height: 10px; margin-bottom: 0.6rem; border: 1px solid var(--border); border-radius: 3px; overflow: hidden; background: repeating-linear-gradient(90deg, var(--border) 0, var(--border) 1px, transparent 1px, transparent 9px); }

.boombox-tuner-needle { position: absolute; top: 0; bottom: 0; left: 30%; width: 2px; background: var(--text); }

.boombox-screen { position: relative; background: #14160f; border-radius: 6px; padding: 0.7rem 0.85rem; margin-bottom: 0.75rem; max-height: 7rem; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }

.boombox-screen::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 0, rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 3px); pointer-events: none; }

.boombox-screen .lastfm-list { margin-top: 0; gap: 0.45rem; }

.boombox-screen .lastfm-row { font-size: 0.85rem; }

.boombox-screen .lastfm-dot { background: #3c4736; }

.boombox-screen .lastfm-dot.is-live { background: #6bbf59; box-shadow: 0 0 6px #6bbf59; }

.boombox-screen .lastfm-label { color: #7fa374; }

.boombox-screen .lastfm-list a { color: #d7f5cc; text-decoration-color: rgba(215, 245, 204, 0.35); }

.boombox-screen .lastfm-list a:hover { text-decoration-color: #d7f5cc; }

.boombox-controls { display: flex; align-items: flex-end; gap: 1.1rem; margin-bottom: 1rem; }

.boombox-knob-group { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; flex-shrink: 0; }

.boombox-knob { position: relative; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid var(--text); background: var(--bg); }

.boombox-knob::after { content: ""; position: absolute; top: 2px; left: 50%; width: 2px; height: 5px; background: var(--text); transform: translateX(-50%); }

.boombox-knob-label { font-family: var(--mono); font-size: 0.6rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.boombox-meter { display: flex; align-items: flex-end; justify-content: flex-end; gap: 3px; height: 1.5rem; flex: 1; }

.boombox-meter span { width: 4px; height: 30%; background: #3c4736; border-radius: 1px; transform-origin: bottom; transition: background 0.3s ease; }

.boombox.is-playing .boombox-meter span { background: #6bbf59; animation: boombox-meter-flicker 0.9s ease-in-out infinite; }

.boombox.is-playing .boombox-meter span:nth-child(1) { height: 45%; animation-delay: 0s; }

.boombox.is-playing .boombox-meter span:nth-child(2) { height: 75%; animation-delay: 0.1s; }

.boombox.is-playing .boombox-meter span:nth-child(3) { height: 50%; animation-delay: 0.22s; }

.boombox.is-playing .boombox-meter span:nth-child(4) { height: 95%; animation-delay: 0.05s; }

.boombox.is-playing .boombox-meter span:nth-child(5) { height: 60%; animation-delay: 0.3s; }

.boombox.is-playing .boombox-meter span:nth-child(6) { height: 85%; animation-delay: 0.15s; }

.boombox.is-playing .boombox-meter span:nth-child(7) { height: 55%; animation-delay: 0.25s; }

.boombox.is-playing .boombox-meter span:nth-child(8) { height: 40%; animation-delay: 0.35s; }

@keyframes boombox-meter-flicker { 0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); } }

.boombox-cassette { height: 2.3rem; border: 1px solid var(--border); border-radius: 4px; background: var(--code-bg); display: flex; align-items: center; justify-content: center; gap: 1.75rem; }

.boombox-reel { position: relative; width: 0.9rem; height: 0.9rem; border-radius: 50%; border: 1.5px solid var(--muted); }

.boombox-reel::after { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: var(--muted); }

@media (max-width: 600px) { .boombox-speaker { display: none; } .boombox-controls { flex-wrap: wrap; } .boombox-meter { flex-basis: 100%; justify-content: flex-start; } }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 1.5rem 0; }

.site-footer p { margin: 0; font-size: 0.85rem; color: var(--muted); }

.site-footer a { color: var(--muted); }

.site-footer a:hover { color: var(--text); }

/* syntax highlighting — muted, light */
.highlight .c, .highlight .c1, .highlight .cm, .highlight .cp, .highlight .cs { color: #8a8a80; font-style: italic; }

.highlight .k, .highlight .kd, .highlight .kn, .highlight .kr, .highlight .kt { color: #7a4fa3; }

.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sh { color: #567a3a; }

.highlight .nf, .highlight .nb { color: #2a5ab5; }

.highlight .nt { color: #b5562a; }

.highlight .na { color: #8a6d00; }

.highlight .o, .highlight .ow { color: var(--text); }

.highlight .err { color: #b5312a; }

/* 404 */
.not-found { text-align: center; padding: 4rem 0; }

.not-found h1 { font-size: 3rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }

.not-found p { color: var(--muted); margin-bottom: 0.4em; }

@media (max-width: 600px) { body { font-size: 16px; } .post-title { font-size: 1.6rem; } }

/*# sourceMappingURL=main.css.map */