/* ============================================================
   RESET — Eric Meyer v1.0 | meyerweb.com
   ============================================================ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    font-size: 100%;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

body { line-height: 1; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }
:focus { outline: 0; }
ins { text-decoration: none; }
del { text-decoration: line-through; }
table { border-collapse: collapse; border-spacing: 0; }


/* ============================================================
   FONTS
   ============================================================ */

@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/PublicSans-Regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Public Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/PublicSans-Italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url('../fonts/JetBrainsMono-Regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'JetBrains Mono';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/JetBrainsMono-Italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   VARIABLES
   ============================================================ */

:root {
    --color-text:           rgb(20, 23, 42);
    --color-text-secondary: rgb(90, 95, 114);
    --color-text-muted:     rgb(120, 126, 138);
    --color-accent:         rgb(201, 138, 38);
    --color-accent-dark:    rgb(138, 95, 24);
    --color-link:           rgb(42, 63, 122);
    --color-bg:             rgb(244, 242, 235);
    --color-surface:        rgb(210, 208, 194);
    --color-white:          rgb(255, 255, 255);

    --font-body: 'Public Sans', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --max-width: 1100px;
    --gutter:    1.5rem;
}


/* ============================================================
   BASE — global layout, header, footer, typography
   ============================================================ */

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    border-top: 4px solid var(--color-text);
}

a { color: var(--color-link); }
a:hover { color: var(--color-accent-dark); text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

p { margin-top: 0; margin-bottom: 1em; }
strong, b { font-weight: 600; }
em, i { font-style: italic; }
ul, ol { margin: 0 0 1em 1.5em; padding: 0; }
li { margin-bottom: 0.25em; }
code, pre, kbd { font-family: var(--font-mono); }

code {
    font-size: 0.875em;
    background: var(--color-white);
    border: 1px solid var(--color-surface);
    border-radius: 3px;
    padding: 0.1em 0.35em;
}

pre {
    background: var(--color-white);
    border: 1px solid var(--color-surface);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1em;
}

pre code { background: none; border: none; padding: 0; font-size: inherit; }

blockquote {
    border-left: 3px solid var(--color-accent);
    margin: 1.5rem 0;
    padding: 0.25rem 0 0.25rem 1.25rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

hr { border: none; border-top: 1px solid var(--color-surface); margin: 2rem 0; }
img { max-width: 100%; height: auto; display: block; }
table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
th, td { padding: 0.5em 0.75em; text-align: left; border-bottom: 1px solid var(--color-surface); }
th { font-weight: 600; }

.site-header { padding: 1.25rem 0; }

.site-header__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-link { text-decoration: none; display: inline-flex; align-items: center; gap: 0; position: relative; }

.brand-logo {
    width: 55px;
    height: 75px;
    display: block;
    position: absolute;
    left: -75px;
    top: -10px;
}

.brand-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text);
    letter-spacing: 0.05em;
}

.brand-tld {
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--color-accent);
}

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }

@media (max-width: 960px) {
    .site-nav ul { gap: 0.75rem; }
}

.site-nav a {
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--color-text-secondary);
    letter-spacing: 0.02em;
}

.site-nav a:hover { color: var(--color-text); }

.site-nav a.active {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-text);
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.site-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem var(--gutter);
}

.site-footer { border-top: 1px solid var(--color-surface); padding: 1.25rem 0; margin-top: 4rem; }

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-footer__copy { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-text-secondary); }
.site-footer__copy .copy-symbol { color: var(--color-accent); }
.site-footer__links { display: flex; gap: 1.25rem; }

.site-footer__links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.site-footer__links a:hover { color: var(--color-text); }


/* ============================================================
   TYPOGRIFY
   ============================================================ */

.caps { font-size: .92em; }
.amp { color: #666; font-size: 1.05em; font-family: "Warnock Pro", "Goudy Old Style", "Palatino", "Book Antiqua", serif; font-style: italic; }
.dquo { margin-left: -.38em; }


/* ============================================================
   SYNTAX HIGHLIGHTING
   ============================================================ */

.hll { background-color: #eee; }
.c   { color: #408090; font-style: italic; }
.err { border: 1px solid #FF0000; }
.k   { color: #007020; font-weight: bold; }
.o   { color: #666666; }
.cm  { color: #408090; font-style: italic; }
.cp  { color: #007020; }
.c1  { color: #408090; font-style: italic; }
.cs  { background-color: #FFF0F0; color: #408090; }
.gd  { color: #A00000; }
.ge  { font-style: italic; }
.gr  { color: #FF0000; }
.gh  { color: #000080; font-weight: bold; }
.gi  { color: #00A000; }
.go  { color: #303030; }
.gp  { color: #C65D09; font-weight: bold; }
.gs  { font-weight: bold; }
.gu  { color: #800080; font-weight: bold; }
.gt  { color: #0040D0; }
.kc  { color: #007020; font-weight: bold; }
.kd  { color: #007020; font-weight: bold; }
.kn  { color: #007020; font-weight: bold; }
.kp  { color: #007020; }
.kr  { color: #007020; font-weight: bold; }
.kt  { color: #902000; }
.m   { color: #208050; }
.s   { color: #4070A0; }
.na  { color: #4070A0; }
.nb  { color: #007020; }
.nc  { color: #0E84B5; font-weight: bold; }
.no  { color: #60ADD5; }
.nd  { color: #555555; font-weight: bold; }
.ni  { color: #D55537; font-weight: bold; }
.ne  { color: #007020; }
.nf  { color: #06287E; }
.nl  { color: #002070; font-weight: bold; }
.nn  { color: #0E84B5; font-weight: bold; }
.nt  { color: #062873; font-weight: bold; }
.nv  { color: #BB60D5; }
.ow  { color: #007020; font-weight: bold; }
.w   { color: #BBBBBB; }
.mf  { color: #208050; }
.mh  { color: #208050; }
.mi  { color: #208050; }
.mo  { color: #208050; }
.sb  { color: #4070A0; }
.sc  { color: #4070A0; }
.sd  { color: #4070A0; font-style: italic; }
.s2  { color: #4070A0; }
.se  { color: #4070A0; font-weight: bold; }
.sh  { color: #4070A0; }
.si  { color: #70A0D0; font-style: italic; }
.sx  { color: #C65D09; }
.sr  { color: #235388; }
.s1  { color: #4070A0; }
.ss  { color: #517918; }
.bp  { color: #007020; }
.vc  { color: #BB60D5; }
.vg  { color: #BB60D5; }
.vi  { color: #BB60D5; }
.il  { color: #208050; }


/* ============================================================
   SHARED SIDEBAR
   ============================================================ */

.sidebar-heading {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.sidebar-heading::before {
    content: '■';
    font-size: 0.75em;
    color: var(--color-accent);
}

.sidebar-heading__link { color: inherit; text-decoration: none; }
.sidebar-heading__link:hover { color: var(--color-link); }

.sidebar-section {
    margin-bottom: 0;
    padding: 1.25rem 0 1.25rem 0.75rem;
    border-top: 1px dotted var(--color-surface);
}

.sidebar-callout {
    background: rgb(236, 228, 206);
    border-left: 3px solid var(--color-accent);
    padding: 0.875rem 0.875rem 0.875rem 0.75rem;
    margin-bottom: 0;
}

.sidebar-label {
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4em;
}

.sidebar-label::before { content: '■'; font-size: 0.75em; color: var(--color-text); }

.sidebar-callout .sidebar-heading { color: var(--color-accent); }
.sidebar-callout .sidebar-heading::before,
.sidebar-callout .sidebar-label::before { color: var(--color-accent); }

.sidebar-headshot {
    float: right;
    width: 175px;
    height: 175px;
    margin: -65px -103px 0.5rem 0.75rem;
    display: block;
}

@media (max-width: 960px) {
    .sidebar-headshot { margin-right: 0; }
}

.sidebar-name {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.sidebar-bio {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.55;
    margin: 0 0 0.75rem;
}

.sidebar-book { margin: 0; font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.55; }

.sidebar-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sidebar-links li { padding: 0.35rem 0; font-size: 0.72rem; }
.sidebar-links li:not(:last-child) { border-bottom: 1px solid var(--color-surface); }

.sidebar-links a {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.sidebar-links a:hover { color: var(--color-accent); }

.sidebar-links__row-link {
    display: block;
    width: 100%;
}
.sidebar-note { margin: 0; font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.55; }


/* ============================================================
   HOME / WRITING INDEX
   ============================================================ */

.home-layout {
    display: grid;
    grid-template-columns: 1fr 286px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 960px) {
    .home-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.home-intro {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: -1.0rem;
}

.home-intro__image {
    flex-shrink: 0;
    position: relative;
    left: -210px;
    top: -60px;
    margin-right: -210px;
    margin-bottom: -60px;
}

.home-intro__logo { display: none; }

.home-welcome {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 30px;
    line-height: 1.1;
    position: relative;
    left: -75px;
    top: -30px;
    width: calc(100% + 75px);
    z-index: 1;
}

.home-welcome__eyebrow {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-accent);
}

.home-tagline {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 56ch;
    line-height: 1.6;
}

@media (max-width: 960px) {
    .home-intro { align-items: center; margin-bottom: 0; margin-top: -30px; }
    .home-intro__image { display: none; }
    .home-intro__logo { display: block; width: 55px; height: 75px; flex-shrink: 0; }
    .home-welcome { position: static; left: auto; top: auto; width: 100%; font-size: 1.5rem; margin-bottom: 0.75rem; }
    .home-tagline { font-size: 1rem; }
}

.home-ornament {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    color: var(--color-accent);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
}

.home-ornament::before,
.home-ornament::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--color-surface);
}

.post-card {
    display: grid;
    grid-template-columns: 100px 1fr 90px;
    gap: 0 1.75rem;
    padding: 1.75rem 0;
    border-top: 1px solid var(--color-surface);
    align-items: start;
}

.post-card:first-of-type { border-top: none; padding-top: 0; }

.post-card__meta {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.2rem;
}

.post-card__body { min-width: 0; }

.post-card__title { font-size: 1.125rem; font-weight: 600; margin: 0 0 0.5rem; line-height: 1.3; }
.post-card__title a { color: var(--color-text); text-decoration: none; }
.post-card__title a:hover { color: var(--color-link); }

.post-card__summary { font-size: 0.9375rem; color: var(--color-text-secondary); margin: 0; line-height: 1.55; }

.post-card__tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.25rem;
}

.post-card__tags a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-accent-dark);
    text-decoration: none;
    background: rgb(236, 228, 206);
    padding: 0.15em 0.4em;
    display: inline-block;
}

.post-card__tags a:hover { color: var(--color-text); }

@media (max-width: 960px) {
    .post-card { grid-template-columns: 1fr; gap: 0.5rem; }
    .post-card__tags { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
}

.pagination {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-surface);
    font-family: var(--font-mono);
    font-size: 0.8125rem;
}

.pagination a { color: var(--color-text-secondary); text-decoration: none; }
.pagination a:hover { color: var(--color-text); }

.home-sidebar { position: sticky; top: 2rem; }


/* ============================================================
   POST / ARTICLE
   ============================================================ */

.post-layout {
    display: grid;
    grid-template-columns: 1fr 286px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 960px) {
    .post-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.post-title { font-size: 2rem; font-weight: 600; line-height: 1.15; margin: 0 0 0.75rem; color: var(--color-text); }

.post-meta {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.post-meta__sep { color: var(--color-surface); }
.post-meta__tags { display: flex; gap: 0.3rem; flex-wrap: wrap; }

.post-meta__tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-accent-dark);
    text-decoration: none;
    background: rgb(236, 228, 206);
    padding: 0.15em 0.4em;
}

.post-meta__tag:hover { color: var(--color-text); }

.post-body { font-size: 1.0625rem; line-height: 1.7; color: var(--color-text); }
.post-body p { margin: 0 0 1.25em; }
.post-body h2 { font-size: 1.25rem; margin-top: 2.5em; margin-bottom: 0.5em; }
.post-body h3 { font-size: 1.05rem; margin-top: 2em; margin-bottom: 0.4em; }
.post-body ul,
.post-body ol { margin: 0 0 1.25em 1.5em; }

.post-closing { margin-top: 3rem; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--color-accent); }

.post-sidebar { position: sticky; top: 2rem; }

.post-sidebar .sidebar-callout { padding-top: 1.25rem; }
.sidebar-callout + .sidebar-section { margin-top: 0; }

.post-sidebar__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.35rem; }

.post-sidebar__tags a {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--color-accent-dark);
    text-decoration: none;
    background: rgb(236, 228, 206);
    padding: 0.15em 0.4em;
    display: inline-block;
}

.post-sidebar__tags a:hover { color: var(--color-text); }

.post-sidebar__margin-note { font-size: 0.8125rem; color: var(--color-text-muted); line-height: 1.55; margin: 0 0 0.75rem; }
.post-sidebar__margin-note:last-child { margin-bottom: 0; }

.post-readnext__item { padding: 0.6rem 0; border-bottom: 1px solid var(--color-surface); }
.post-readnext__item:first-child { padding-top: 0; }
.post-readnext__item:last-child { border-bottom: none; padding-bottom: 0; }

.post-readnext__title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--color-text-secondary);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.post-readnext__title:hover { color: var(--color-accent); }


/* ============================================================
   ARCHIVE / TAGS
   ============================================================ */

.archive-layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 960px) {
    .archive-layout { grid-template-columns: 1fr; gap: 3rem; }
}

.archive-row {
    display: grid;
    grid-template-columns: 88px 52px 1fr auto;
    gap: 0 1.25rem;
    padding: 0.55rem 0;
    align-items: baseline;
    position: relative;
}

/* Bottom border offset past the year column */
.archive-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: calc(88px + 1.25rem);
    right: 0;
    height: 1px;
    background: var(--color-surface);
}

/* Top border on first row and each new year/tag group */
.archive-row:first-child::before,
.archive-row--year-start:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(88px + 1.25rem);
    right: 0;
    height: 1px;
    background: var(--color-surface);
}

.archive-row--year-start:not(:first-child) { margin-top: 1.5rem; }
.archive-row--tag-end::after { display: none; }

.archive-main--no-year .archive-row { grid-template-columns: 68px 1fr auto; }
.archive-main--wide-date .archive-row { grid-template-columns: 88px 68px 1fr auto; }
.archive-main--wide-date .archive-row::after { left: calc(88px + 1.25rem); }
.archive-main--wide-date .archive-row:first-child::before,
.archive-main--wide-date .archive-row--year-start:not(:first-child)::before { left: calc(88px + 1.25rem); }
.archive-main--no-year .archive-row::after { left: 0; }
.archive-main--no-year .archive-row:first-child::before,
.archive-main--no-year .archive-row--year-start:not(:first-child)::before { left: 0; }

.archive-row__year {
    font-family: var(--font-mono);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--color-text);
    text-align: left;
    white-space: nowrap;
}

.tags-row__tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    align-self: center;
}

.tags-row__tag a { color: inherit; text-decoration: none; }
.tags-row__tag a:hover { color: var(--color-link); }

.archive-row__date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-muted); white-space: nowrap; }
.archive-row__title { font-size: 0.9375rem; color: var(--color-text); text-decoration: none; line-height: 1.3; }
.archive-row__title:hover { color: var(--color-link); }
.archive-row__time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-muted); white-space: nowrap; }

.archive-sidebar { position: sticky; top: 2rem; }

.archive-sidebar .sidebar-callout { background: none; border-left: none; }
.archive-sidebar .sidebar-callout .sidebar-heading { color: var(--color-text); font-weight: 700; }
.archive-sidebar .sidebar-callout .sidebar-heading::before { color: var(--color-text); }
.archive-sidebar__section.sidebar-callout { border-top: none; }

.archive-sidebar__section {
    padding: 0.875rem 0.875rem 0.875rem 0.75rem;
    border-top: 1px dotted var(--color-surface);
}

.archive-sidebar__section--first { border-top: none; }
.archive-sidebar__section:not(.sidebar-callout) .sidebar-heading { font-weight: 700; }
.archive-sidebar__section:not(.sidebar-callout) .sidebar-heading::before { color: var(--color-text); }

.archive-sidebar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }

.archive-sidebar__item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.35rem 0;
    border-bottom: 1px solid var(--color-surface);
    font-family: var(--font-mono);
    font-size: 0.72rem;
}

.archive-sidebar__item:last-child { border-bottom: none; }

.archive-sidebar__row-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.archive-sidebar__row-link:hover { color: var(--color-accent); }
.archive-sidebar__row-link:hover .archive-sidebar__count { color: var(--color-accent); }
.archive-sidebar__count { color: var(--color-text-muted); }


/* ============================================================
   STATIC PAGES
   ============================================================ */

.tag-title {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 1.5rem;
}

.page-layout { max-width: 680px; }
.page-title { font-size: 2rem; font-weight: 600; line-height: 1.15; margin: 0 0 0.75rem; color: var(--color-text); }
.page-ornament { font-size: 0.85rem; letter-spacing: 0.4em; color: var(--color-accent); margin-bottom: 2rem; }
