@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson-text_normal_400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: block;
}

@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson-text_italic_400.woff2") format("woff2");
    font-style: italic;
    font-weight: 400;
    font-display: block;
}

@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson-text_normal_600.woff2") format("woff2");
    font-style: normal;
    font-weight: 600;
    font-display: block;
}

@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson-text_italic_600.woff2") format("woff2");
    font-style: italic;
    font-weight: 600;
    font-display: block;
}

@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson-text_normal_700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: block;
}

@font-face {
    font-family: "Crimson Text";
    src: url("../fonts/crimson-text_italic_700.woff2") format("woff2");
    font-style: italic;
    font-weight: 700;
    font-display: block;
}

:root {
    --primary: #252525;
    --secondary: #5c5c5c;
    --background: #ffffff;
    --tertiary: #f0f0f0;
    --content-width: 620px;
    --wide-width: 1000px;
    --serif: "Crimson Text", Georgia, "Times New Roman", serif;
    color-scheme: light;
    font-family: var(--serif);
    background: var(--background);
}

* { box-sizing: border-box; }
html { min-width: 20rem; scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--primary); font: 400 clamp(1rem, .9rem + .5vw, 1.25rem)/1.6 var(--serif); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration-thickness: .0625em; text-underline-offset: .15em; }
a:hover { text-decoration: none; }
button, input, select, textarea { font: inherit; }
strong { font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .65rem .85rem; transform: translateY(-200%); background: var(--primary); color: var(--background); }
.skip-link:focus { transform: none; }

.site-header { width: min(calc(100% - 3rem), var(--content-width)); margin-inline: auto; padding: 5.06rem 0 3.38rem; text-align: center; }
.site-logo { display: block; text-decoration: none; }
.site-logo img { width: 100%; height: auto; aspect-ratio: 1200 / 658; }
.site-tagline { margin: 2.25rem auto .35rem; font-size: 1.25rem; font-weight: 400; line-height: 1.7; }
.site-tagline a { font-weight: 600; }
.site-archive-title { margin: 2.25rem auto .35rem; color: var(--secondary); font-size: clamp(2.5rem, 2.2rem + 1.5vw, 3rem); font-weight: 600; line-height: 1.125; }
.site-archive-title--solo { margin-bottom: 3.38rem; }
.site-archive-description { margin: .75rem auto 3.38rem; font-size: 1.25rem; font-weight: 400; line-height: 1.7; }
.site-since { margin: 0 auto 3.38rem; font-size: 1.25rem; line-height: 1.7; }
.site-header hr { height: 1px; margin: 0; border: 0; background: var(--tertiary); }

.content,
.single-content { width: min(calc(100% - 3rem), var(--content-width)); margin-inline: auto; }
.post-page { display: block; }
.post-card { position: relative; padding: .67rem 0; }
.scroll-reveal-ready .post-card { opacity: 0; transform: translateY(.75rem); transition: opacity .45s ease, transform .45s cubic-bezier(.22, .61, .36, 1); }
.scroll-reveal-ready .post-card.is-visible { opacity: 1; transform: translateY(0); }
.post-card::after { display: block; height: 1px; margin-top: 1.5rem; background: var(--tertiary); content: ""; }
.post-card__index { display: none; }
.post-card h2,
.single-post h1 { margin: 0; color: var(--secondary); font-size: clamp(2.5rem, 2.2rem + 1.5vw, 3rem); font-weight: 600; line-height: 1.125; }
.post-card h2 { padding: 2.25rem 0; }
.post-card__permalink,
.post-card__permalink:hover { color: inherit; text-decoration: none; }
.poem-text,
.single-poem { color: var(--primary); font-size: 1em; line-height: 1.5; overflow-wrap: anywhere; }
.poem-text { margin-top: 1.5rem; }
.poem-text p,
.single-poem p { margin: 0; line-height: 1.4; }
.poem-text p + p,
.single-poem p + p { margin-top: 1rem; }
.post-meta,
.single-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: baseline; margin: 0; padding: 3.75rem 0; color: var(--secondary); font-size: .85em; font-style: italic; line-height: 1.6; }
.post-meta a,
.single-meta a { color: var(--primary); }
.post-meta__byline,
.single-meta__byline { display: flex; flex-direction: column; gap: .2rem; }
.post-author { color: var(--primary); font-weight: 600; line-height: 1.5; letter-spacing: 1px; text-decoration: none; }
.post-author:hover { text-decoration: underline; }
.post-date { color: var(--secondary); }
.phrase-quote { width: 100%; margin: 1.5rem 0 0; padding: 1.5rem; background: var(--tertiary); }
.phrase-quote blockquote { margin: 0; padding: 0; color: var(--primary); font-size: 1.6em; font-style: italic; line-height: 1.4; }
.phrase-quote p { margin: 0; }
.phrase-quote p + p { margin-top: 1rem; }
.phrase-spacer { height: 0; margin: 1rem 0 0; }

.single-post { position: relative; padding: .67rem 0; }
.single-post::after { display: block; height: 1px; margin-top: 1.5rem; background: var(--tertiary); content: ""; }
.single-post > header h1 { padding: 2.25rem 0; }
.single-poem { margin-top: 1.5rem; }
.single-meta { align-items: flex-start; flex-direction: column; gap: 1rem; }
.single-tags { display: inline-flex; flex-wrap: wrap; gap: .65rem; }
.single-tag { color: var(--secondary) !important; font-size: 1em; font-style: normal; line-height: 1.45; text-decoration: underline; text-underline-offset: .15em; }
.single-tag:hover { color: var(--primary) !important; }
.single-counter { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 1.5rem; color: var(--secondary); font-size: .85em; font-style: italic; text-align: center; }
.single-more { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0 3.38rem; }
.single-more a { font-style: italic; }

.notice { padding: 3.38rem 0; text-align: center; }
.notice h1 { margin: 0 0 1rem; color: var(--secondary); font-size: 3rem; font-weight: 600; line-height: 1.125; }
.notice p { margin: 0; }
.pagination { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 2.25rem 0; color: var(--secondary); font-size: .85em; font-style: italic; }
.pagination a { color: var(--primary); }
.scroll-status { min-height: 0; margin: 0; color: var(--secondary); font-size: .8em; font-style: italic; text-align: center; }
.scroll-status:not(:empty) { min-height: 1.5em; margin-top: 1.5rem; }
.infinite-scroll-enabled .pagination { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.scroll-sentinel { height: 1px; }

.not-found { width: min(calc(100% - 3rem), var(--content-width)); margin: 18vh auto; }
.not-found .eyebrow { margin: 0 0 .75rem; color: var(--secondary); font-style: italic; }
.not-found h1 { margin: 0 0 1.5rem; color: var(--secondary); font-size: clamp(2.5rem, 8vw, 4rem); font-weight: 600; line-height: 1.05; }

@media (max-width: 40rem) {
    .site-header { width: min(calc(100% - 2rem), var(--content-width)); padding: 2.25rem 0; }
    .site-tagline { margin: 1.5rem auto .25rem; font-size: 1rem; line-height: 1.6; }
    .site-archive-description { margin: .65rem auto 2.25rem; font-size: 1rem; line-height: 1.6; }
    .site-archive-title--solo { margin-bottom: 2.25rem; }
    .site-since { margin-bottom: 2.25rem; font-size: 1rem; line-height: 1.6; }
    .content,
    .single-content { width: min(calc(100% - 2rem), var(--content-width)); }
    .post-card { padding-top: .67rem; }
    .post-card h2,
    .single-post h1,
    .site-archive-title { font-size: clamp(2.15rem, 12vw, 2.75rem); }
    .pagination { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-reveal-ready .post-card,
    .scroll-reveal-ready .post-card.is-visible { opacity: 1; transform: none; transition: none; }
}
