/* A personal journal: paper, ink, a little green, and the original photographs. */
:root {
    --editorial-paper: #f7f6f0;
    --editorial-surface: #fcfbf7;
    --editorial-ink: #25322e;
    --editorial-muted: #5e6b64;
    --editorial-line: #d6ddd4;
    --editorial-accent: #2f665b;
    --notebook-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Songti SC", ui-serif, Georgia, serif;
    --notebook-mono: "Cousine webfont", ui-monospace, SFMono-Regular, Consolas, monospace;
    --blossom-strong-pink: #2f665b;
    --blossom-medium-grey: #edf0e8;
}
html { scroll-padding-top: 110px; }
body { color: var(--editorial-ink); background: var(--editorial-paper); }
body:not(.preview) .site-shell { max-width: none; border: 0; background: none; }
::selection { color: #183a32; background: #d9e8c9; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 9px 16px; color: var(--editorial-ink); background: var(--editorial-surface); }
.skip-link:focus { top: 12px; }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--editorial-accent); outline-offset: 5px; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(247,246,240,.97); border-bottom: 1px solid var(--editorial-line); }
.header-inner { max-width: 1180px; min-height: 80px; padding: 15px 32px; gap: 36px; }
.site-brand { display: inline-flex; align-items: center; gap: 11px; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.brand-mark { display: block; width: 36px; height: 36px; flex: none; object-fit: contain; }
.brand-domain { color: var(--editorial-muted); font-weight: 400; }
.site-navigation { gap: 27px; }
.site-navigation a { position: relative; color: var(--editorial-muted); font-size: 14px; line-height: 30px; }
.site-navigation a[aria-current="page"] { color: var(--editorial-ink); }
.site-navigation a[aria-current="page"]::after { content: ""; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--editorial-accent); }
.site-navigation a:hover { text-decoration: none; color: var(--editorial-accent); }
.site-search { border-color: #aebbb0; }
.site-search input[type="search"] { width: 105px; min-height: 30px; font-size: 13px; }
.site-search input[type="search"]:focus { width: 140px; }
.site-search input::placeholder { color: var(--editorial-muted); }
.site-search:focus-within { border-color: var(--editorial-accent); }
main#main { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 32px 68px; outline: none; }
body:not(.route_index):not(.route_view) main#main { max-width: 940px; padding-top: 52px; }
.home-identity { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 70px; padding: 52px 0 48px; border-bottom: 1px solid var(--editorial-line); }
.home-kicker, .page-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--editorial-muted); font-family: var(--notebook-mono); font-size: 11px; line-height: 1.5; letter-spacing: .08em; }
.home-kicker > span { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--editorial-muted); }
.home-intro h1 { margin: 0 0 22px; font-family: var(--notebook-serif); font-size: clamp(40px, 4.5vw, 60px); font-weight: 600; line-height: 1.25; letter-spacing: -.045em; }
.home-description { margin: 0; color: var(--editorial-muted); font-size: 15px; line-height: 1.9; }
.home-shortcuts { display: flex; gap: 27px; margin-top: 28px; }
.home-shortcuts a { font-size: 12px; text-decoration: none; }
.home-shortcuts a > span { color: var(--editorial-muted); margin-left: 6px; }
.home-shortcuts a:hover { text-decoration: underline; }
.home-photo { min-width: 0; margin: 0; }
.home-photo-image { display: block; overflow: hidden; background: #e5e9e0; }
.home-photo-image img { display: block; width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; object-position: center 55%; transition: transform .35s ease; }
.home-photo-image:hover img { transform: scale(1.015); }
.home-photo figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; font-size: 11px; line-height: 1.5; color: var(--editorial-muted); }
.home-photo figcaption a { text-decoration: none; }
.home-photo figcaption a:hover { text-decoration: underline; }
.home-photo figcaption > span { flex: none; font-family: var(--notebook-mono); }
.home-columns { display: grid; grid-template-columns: minmax(0,1fr) 232px; gap: 70px; padding-top: 38px; }
.journal-feed, .entry-layout, .entry-copy, .article-content { min-width: 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 4px; }
.section-heading h2, .sidebar-title { margin: 0; font-size: 13px; font-weight: 600; }
.section-heading > a { font-size: 12px; color: var(--editorial-muted); text-decoration: none; }
.section-heading > a:hover { text-decoration: underline; }
body:not(.route_view) main#main article.post.text { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 17px; margin: 0; padding: 25px 0; border: 0; border-bottom: 1px solid var(--editorial-line); border-radius: 0; background: none; box-shadow: none; }
.entry-date { color: var(--editorial-muted); font-family: var(--notebook-mono); font-size: 11px; line-height: 1.6; padding-top: 5px; }
.entry-access { display: block; margin-top: 6px; color: var(--editorial-muted); font-family: inherit; }
body:not(.route_view) article.post.text h2.post_title { margin: 0 0 9px; font-size: 20px; font-weight: 550; line-height: 1.5; letter-spacing: -.01em; }
.entry-excerpt { display: none; color: var(--editorial-muted); font-size: 14px; line-height: 1.85; margin: 12px 0 14px; }
.entry-tags { color: var(--editorial-accent); font-size: 11px; gap: 6px 13px; }
.entry-layout.has-cover { grid-template-columns: minmax(0,1fr) 136px; gap: 24px; }
.entry-cover { width: 136px; height: 92px; border-radius: 0; background: #e5e9e0; }
.entry-cover img { width: 100%; height: 100%; object-fit: cover; }
body.route_index main#main .feed-list > article.post.text:first-child { display: block; padding-top: 24px; padding-bottom: 28px; }
.route_index .feed-list > article.post.text:first-child .entry-date { margin-bottom: 12px; padding-top: 0; }
.route_index .feed-list > article.post.text:first-child h2.post_title { font-size: 29px; font-weight: 600; line-height: 1.5; }
.route_index .feed-list > article.post.text:first-child .entry-excerpt { display: block; }
.home-sidebar { width: auto; max-width: none; float: none; margin: 0; padding: 0 0 0 26px; background: none; font-style: normal; border-left: 1px solid var(--editorial-line); }
.sidebar-section { margin-bottom: 37px; }
.sidebar-title { color: var(--editorial-ink); margin-bottom: 15px; }
.topic-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 19px; }
.topic-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--editorial-line); font-size: 12px; text-decoration: none; }
.topic-list a > span { color: var(--editorial-muted); font-size: 11px; }
.all-topics { display: inline-block; margin-top: 16px; color: var(--editorial-muted); font-size: 11px; text-decoration: none; }
.all-topics:hover { text-decoration: underline; }
.selected-posts { list-style: none; padding: 0; margin: 0; counter-reset: selected; }
.selected-posts li { padding: 17px 0; border-bottom: 1px solid var(--editorial-line); }
.selected-posts li:first-child { padding-top: 0; }
.selected-label { display: block; margin-bottom: 8px; color: var(--editorial-muted); font-family: var(--notebook-mono); font-size: 10px; }
.selected-posts a { display: block; font-family: var(--notebook-serif); font-size: 15px; font-weight: 550; line-height: 1.6; text-decoration: none; }
.selected-posts a:hover { text-decoration: underline; }
.selected-posts p { margin: 7px 0 0; color: var(--editorial-muted); font-size: 11px; line-height: 1.7; }
.sidebar-colophon { padding-top: 5px; }
.colophon-mark { color: var(--editorial-muted); font-family: Georgia, serif; font-size: 35px; font-style: italic; }
.sidebar-colophon p { margin: 9px 0 13px; color: var(--editorial-muted); font-size: 12px; line-height: 1.8; }
.sidebar-colophon a { color: var(--editorial-accent); font-size: 11px; text-decoration: none; }
.page-heading { margin: 0 0 40px; padding: 0 0 27px; border-bottom: 1px solid var(--editorial-line); }
.page-kicker { margin-bottom: 13px; }
.page-heading h1 { margin: 0; font-family: var(--notebook-serif); font-size: clamp(31px,4vw,43px); font-weight: 600; line-height: 1.4; }
.page-heading > p:last-child:not(.page-kicker) { margin: 12px 0 0; color: var(--editorial-muted); font-size: 13px; }
.route_index main#main > .page-heading { margin-top: 44px; margin-bottom: 0; }
.archive-month { display: grid; grid-template-columns: 122px minmax(0,1fr); gap: 26px; padding: 25px 0 28px; }
.archive-month h2 { margin: 3px 0 0; font-family: var(--notebook-mono); font-size: 17px; font-weight: 400; }
.archive-month li { grid-template-columns: 26px minmax(0,1fr); gap: 16px; padding: 9px 0; }
.archive-day { color: var(--editorial-muted); font-family: var(--notebook-mono); font-size: 11px; }
.archive-month li a { font-size: 17px; }
.tag-index { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 30px; }
.tag-index-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--editorial-line); font-size: 15px; text-decoration: none; }
.tag-index-link > span:last-child { color: var(--editorial-muted); font-size: 12px; }
.tag-index-link:hover > span:first-child { text-decoration: underline; }
.route_page article.page { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.route_page .page-body { font-size: 16px; line-height: 1.9; overflow-wrap: anywhere; }
.route_page .page-body h2 { margin: 2em 0 1em; font-family: var(--notebook-serif); font-size: 24px; }
.route_page .page-body a { color: var(--editorial-accent); }
.route_page .page-body img { max-width: 100%; height: auto; }
.route_page article#page_4 .friends-summary { margin: -18px 0 22px; color: var(--editorial-muted); }
body.route_page article#page_4 .friend-number, body.route_page article#page_4 .friend-domain { color: var(--editorial-muted); font-family: var(--notebook-mono); font-size: 11px; }
.route_page article#page_4 .friend-entry { padding: 23px 0; color: var(--editorial-ink); }
.route_page article#page_4 .friend-name { font-size: 19px; }
.route_page article#page_4 .friends-self { border-top-color: var(--editorial-line); }
.route_page article.page > footer { margin-top: 32px; }
.route_view main#main { padding-top: 47px; }
.article-layout { display: grid; grid-template-columns: minmax(0,780px) minmax(0,1fr); gap: 52px; }
.article-content > article.post { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.article-heading { margin: 0 0 37px; padding-bottom: 30px; border-bottom: 1px solid var(--editorial-line); }
.article-meta { display: flex; align-items: center; gap: 16px; color: var(--editorial-muted); font-family: var(--notebook-mono); font-size: 12px; }
.article-meta a { text-decoration: none; }
.access-label { color: var(--editorial-muted); font-family: inherit; }
body.route_view .article-heading .post_title { margin: 20px 0 19px; font-size: clamp(29px,3.4vw,42px); line-height: 1.45; font-weight: 600; letter-spacing: -.015em; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--editorial-accent); font-size: 12px; }
.article-tags a { text-decoration: none; }
.article-tags a:hover { text-decoration: underline; }
body.route_view article.post > section.body { margin: 0; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.body > p { margin: 1.3em 0; }
.body h2, .body h3 { scroll-margin-top: 112px; }
body.route_view article.post > section.body h2 { margin: 2.4em 0 .95em; font-family: var(--notebook-serif); font-size: 1.45em; font-weight: 650; line-height: 1.5; }
body.route_view article.post > section.body h3 { margin: 2em 0 .8em; font-size: 1.14em; line-height: 1.6; }
.body a { color: var(--editorial-accent); }
.body ul, .body ol { padding-left: 1.6em; }
.body blockquote { margin: 1.7em 0; padding: 8px 0 8px 22px; border-left: 2px solid var(--editorial-accent); background: none; color: var(--editorial-muted); }
.body blockquote p { margin: .45em 0; }
.body pre { max-width: 100%; margin: 1.5em 0; background-color: #edf0e8; border-radius: 2px; font-size: 14px; line-height: 1.65; overflow-wrap: normal; }
.body pre > code { font-family: var(--notebook-mono); font-size: 13px; line-height: 1.65; padding: 20px; background: transparent; }
.body pre:has(> .hljs) { background: #f0f3ec; border: 1px solid var(--editorial-line); }
.body :not(pre) > code { font-family: var(--notebook-mono); font-size: .83em; padding: .12em .32em; background: #e8eee5; vertical-align: baseline; border-radius: 2px; }
.body .wp-block-kevinbatdorf-code-block-pro { margin: 1.7em 0; }
.body .wp-block-kevinbatdorf-code-block-pro > span:first-child { box-sizing: border-box; }
.body .wp-block-kevinbatdorf-code-block-pro pre.shiki { margin: 0; }
.body .wp-block-kevinbatdorf-code-block-pro pre.shiki > code { font-family: var(--notebook-mono); }
pre > button.copy-code { border: 1px solid #a7b4aa; border-radius: 2px; color: var(--editorial-accent); background: #f7f9f3; padding: 4px 9px; font-size: 11px; }
.body table { display: block; width: max-content; max-width: 100%; margin: 1.7em 0; overflow-x: auto; border-collapse: collapse; font-size: .88em; }
.body td, .body th { padding: 10px 15px; border: 1px solid var(--editorial-line); color: var(--editorial-ink); }
.body th { background: #e9eee4; font-weight: 600; }
.body mjx-container[display="true"], .body .katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: .25em 0; }
.body iframe, .body video { max-width: 100%; }
.body figcaption { margin-top: 10px; font-size: 12px; color: var(--editorial-muted); }
.article-content article.post > footer { padding-top: 20px; margin-top: 46px; border-top: 1px solid var(--editorial-line); }
.article-content article.post > footer > .tags { display: none; }
.article-content div.metadata { position: static; width: auto; color: var(--editorial-muted); margin: 8px 0 0; padding: 0; border: 0; background: none; font-size: 12px; }
.article-content div.admin { margin: 0 0 12px; font-size: 12px; }
.post-neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 25px 0; margin-top: 29px; border-top: 1px solid var(--editorial-line); border-bottom: 1px solid var(--editorial-line); }
.post-neighbours > div > span { display: block; margin-bottom: 10px; color: var(--editorial-muted); font-size: 11px; }
.post-neighbours a { display: block; font-family: var(--notebook-serif); font-size: 16px; line-height: 1.6; text-decoration: none; }
.post-neighbours a:hover { text-decoration: underline; }
.post-neighbours a > span { color: var(--editorial-muted); }
.reading-rail { width: auto; max-width: none; float: none; margin: 0; padding: 3px 0 0; background: none; border: 0; font-style: normal; min-width: 0; align-self: start; position: sticky; top: 113px; }
main details { padding: 16px 20px; background: none; border: 1px solid var(--editorial-line); border-radius: 0; box-shadow: none; }
main summary { position: static; left: auto; width: auto; padding: 0; background: none; color: var(--editorial-ink); line-height: 1.7; }
main summary:hover, main summary:focus, main summary:active { color: var(--editorial-accent); background: none; }
.reading-outline { margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.reading-outline summary { display: flex; justify-content: space-between; gap: 16px; padding: 0 0 13px; border-bottom: 1px solid var(--editorial-line); color: var(--editorial-ink); font-size: 12px; cursor: pointer; overflow: visible; }
.reading-outline summary::after { content: "+"; color: var(--editorial-muted); font-family: var(--notebook-mono); }
.reading-outline[open] > summary { padding-bottom: 13px; }
.reading-outline[open] > summary::after { content: "−"; }
.reading-outline nav { max-height: calc(100vh - 240px); overflow-y: auto; margin-top: 10px; scrollbar-width: thin; }
.reading-outline ol { list-style: none; margin: 0; padding: 0; }
.reading-outline li { margin: 0; }
.reading-outline li a { display: block; padding: 6px 0 6px 11px; border-left: 1px solid var(--editorial-line); color: var(--editorial-muted); font-size: 12px; line-height: 1.6; text-decoration: none; overflow-wrap: anywhere; }
.reading-outline li.toc-subheading a { padding-left: 23px; font-size: 11px; }
.reading-outline li a.is-current { color: var(--editorial-accent); border-left: 2px solid var(--editorial-accent); font-weight: 600; }
.reading-top { display: inline-block; margin-top: 24px; color: var(--editorial-muted); font-size: 11px; text-decoration: none; }
.reading-progress { position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 60; background: var(--editorial-accent); transform-origin: left center; pointer-events: none; }
.feed-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; margin: 43px 0 0; padding-top: 23px; border-top: 1px solid var(--editorial-line); font-size: 13px; }
.feed-pagination > span { color: var(--editorial-muted); font-family: var(--notebook-mono); font-size: 11px; }
.feed-pagination > div:last-child { text-align: right; }
.feed-pagination a { text-decoration: none; }
.feed-pagination a:hover { text-decoration: underline; }
.site-footer { max-width: 1116px; margin: 0 auto; padding: 26px 0 40px; border-top: 1px solid var(--editorial-line); align-items: center; color: var(--editorial-muted); font-size: 12px; }
.site-footer .footer-identity { display: block; }
.footer-identity > span { display: block; }
.footer-identity > span:first-child { margin-bottom: 7px; font-family: var(--notebook-serif); color: var(--editorial-ink); font-size: 17px; font-weight: 600; }
.footer-identity > span:last-child { font-family: var(--notebook-mono); font-size: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.ribbon { background: #e6ede0 !important; color: var(--editorial-ink) !important; border-radius: 0 !important; font-size: 14px; text-align: left; }
.ribbon.flash.warning { border-left: 3px solid var(--editorial-muted); }
.standalone { border: 0; box-shadow: none; background: none; padding: 0; }
.fragment h2 { font-family: var(--notebook-serif); }
.fragment section { color: var(--editorial-muted); font-size: 14px; }
@media (max-width: 1100px) {
    .home-identity { gap: 42px; }
    .home-columns { gap: 45px; grid-template-columns: minmax(0,1fr) 218px; }
    .article-layout { grid-template-columns: minmax(0,1fr) 176px; gap: 32px; }
    .site-footer { margin-inline: 32px; }
}
@media (max-width: 1023px) {
    .article-layout { display: flex; flex-direction: column; gap: 0; max-width: 780px; margin: auto; }
    .reading-rail { position: static; width: 100%; order: -1; margin-bottom: 26px; padding-top: 0; }
    .reading-outline { border-bottom: 1px solid var(--editorial-line); }
    .reading-outline summary, .reading-outline[open] > summary { padding: 10px 0; border: 0; }
    .reading-outline nav { max-height: 300px; padding-bottom: 12px; margin-top: 0; }
    .reading-rail .reading-top { display: none; }
    .reading-rail:not(:has(details:not([hidden]))) { display: none; }
}
@media (max-width: 760px) {
    html { scroll-padding-top: 146px; }
    .header-inner { padding: 15px 22px 14px; gap: 15px 18px; min-height: 0; }
    .site-brand { width: auto; margin-right: auto; font-size: 17px; }
    .site-navigation { order: 3; flex: 1 0 100%; justify-content: space-between; margin: 0; gap: 16px; }
    .site-navigation a { font-size: 13px; line-height: 24px; }
    .site-search { width: 104px; margin: 0; }
    .site-search input[type="search"], .site-search input[type="search"]:focus { width: 104px; font-size: 12px; }
    main#main { padding: 0 22px 48px; }
    body:not(.route_index):not(.route_view) main#main { padding-top: 34px; }
    .home-identity { padding: 35px 0 32px; grid-template-columns: 1fr; gap: 30px; }
    .home-intro h1 { font-size: 44px; margin-bottom: 17px; }
    .home-kicker { margin-bottom: 17px; font-size: 10px; }
    .home-description { font-size: 14px; }
    .home-shortcuts { margin-top: 20px; }
    .home-photo-image img { aspect-ratio: 2.15; }
    .home-photo figcaption { font-size: 10px; }
    .home-columns { display: block; padding-top: 28px; }
    body:not(.route_view) main#main article.post.text { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
    .entry-date { padding-top: 0; font-size: 10px; }
    .entry-access { display: inline; margin-left: 10px; }
    body:not(.route_view) article.post.text h2.post_title { font-size: 19px; }
    .route_index .feed-list > article.post.text:first-child h2.post_title { font-size: 25px; }
    .entry-layout.has-cover { grid-template-columns: minmax(0,1fr) 108px; gap: 17px; }
    .entry-cover { width: 108px; height: 82px; grid-row: auto; }
    .home-sidebar { padding: 31px 0 0; border-left: 0; margin-top: 30px; border-top: 1px solid var(--editorial-line); display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    .sidebar-section { margin-bottom: 0; }
    .sidebar-colophon { display: none; }
    .topic-list { grid-template-columns: 1fr; }
    .selected-posts a { font-size: 14px; }
    .selected-posts p { font-size: 11px; }
    .page-heading { margin-bottom: 25px; padding-bottom: 22px; }
    .page-heading h1 { font-size: 34px; }
    .page-kicker { font-size: 10px; margin-bottom: 11px; }
    .archive-month { grid-template-columns: 1fr; gap: 10px; padding-top: 22px; }
    .archive-month h2 { font-size: 15px; }
    .archive-month li a { font-size: 16px; }
    .tag-index { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 24px; }
    .tag-index-link { font-size: 14px; padding: 15px 0; }
    .route_view main#main { padding-top: 30px; }
    .article-heading { margin-bottom: 28px; padding-bottom: 24px; }
    body.route_view .article-heading .post_title { font-size: 30px; margin-top: 17px; line-height: 1.5; }
    .article-meta { font-size: 11px; }
    body.route_view article.post > section.body { font-size: 16px; line-height: 1.9; }
    .body h2, .body h3 { scroll-margin-top: 149px; }
    .body pre > code { font-size: 12px; padding: 16px; }
    .post-neighbours { gap: 22px; }
    .post-neighbours a { font-size: 14px; }
    .site-footer { margin: 0 22px; padding: 24px 0 32px; align-items: start; gap: 24px; }
    .footer-links { justify-content: flex-end; max-width: 155px; gap: 12px 18px; font-size: 11px; }
    .feed-pagination { gap: 15px; font-size: 12px; margin-top: 34px; }
}
@media (max-width: 370px) {
    .home-intro h1 { font-size: 38px; }
    .brand-domain { display: none; }
    .home-sidebar { grid-template-columns: 1fr; }
    .topic-list { grid-template-columns: 1fr 1fr; }
    .entry-layout.has-cover { grid-template-columns: minmax(0,1fr) 85px; }
    .entry-cover { width: 85px; height: 75px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home-photo-image img { transition: none; }
}

/* Keep imported Nord comments and purple tokens readable on their dark surface. */
.body .wp-block-kevinbatdorf-code-block-pro pre.shiki span[style*="#616e88" i] { color: #9aa7bc !important; }
.body .wp-block-kevinbatdorf-code-block-pro pre.shiki span[style*="#b48ead" i] { color: #c0a0b8 !important; }

/* Quiet photo rotation. A fixed frame keeps the page still between photographs. */
.home-photo-image { position: relative; aspect-ratio: 1.9; }
.home-photo-image img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; opacity: 0; object-fit: cover; pointer-events: none; transition: opacity 700ms ease; transform: none; }
.home-photo-image img.is-active { opacity: 1; }
.home-photo-image:hover img { transform: none; }
.home-photo figcaption { align-items: center; gap: 12px; min-height: 22px; }
.home-photo-caption { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.home-photo-caption > a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-photo-caption > span { flex: none; font-family: var(--notebook-mono); font-size: 10px; }
.home-photo-controls { display: flex; align-items: center; gap: 8px; flex: none; color: var(--editorial-muted); }
.home-photo-controls > span { font-family: var(--notebook-mono); font-size: 10px; min-width: 27px; }
.home-photo-controls button { all: unset; box-sizing: border-box; display: inline-block; cursor: pointer; padding: 3px 2px; min-width: 17px; color: var(--editorial-muted); font-size: 11px; line-height: 1.5; text-align: center; }
.home-photo-controls button:hover { color: var(--editorial-ink); }
.home-photo-controls button:focus-visible { outline: 1px solid var(--editorial-accent); outline-offset: 3px; }
.home-photo-controls button:disabled { cursor: default; opacity: .45; }
.home-photo.is-reduced-motion .home-photo-image img { transition: none; }
@media (max-width: 640px) {
    .home-photo-image { aspect-ratio: 2.15; }
    .home-photo-caption { gap: 8px; }
    .home-photo-caption > span { font-size: 9px; }
    .home-photo-controls { gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-photo-image img { transition: none; }
}
