/* hitoha blog. Uses the site's tokens from /style.css; nothing here overrides the rest of the site. */

.blog { padding-bottom: clamp(64px, 10vw, 128px); }
.blog .lede { margin: 22px auto 0; max-width: 32rem; font: italic 400 clamp(19px, 2vw, 22px)/1.45 var(--serif); color: var(--ink-2); }

/* Index */
.blog-head { text-align: center; padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(40px, 6vw, 72px); }
.blog-head .label { margin-bottom: 22px; }
.blog-head h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1; letter-spacing: -0.03em; max-width: 14ch; margin: 0 auto; }
.empty { text-align: center; color: var(--ink-3); }

.cards { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: 1100px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px); }
.cards a { display: grid; gap: 8px; text-decoration: none; color: inherit; }
.cards img { width: 100%; aspect-ratio: 975 / 885; object-fit: contain; mix-blend-mode: var(--art-blend); border-radius: var(--soft-sm); margin-bottom: 8px; }
.cards .meta { font-size: 13px; color: var(--ink-3); letter-spacing: .02em; }
.cards b { font: 500 clamp(22px, 2.2vw, 26px)/1.2 var(--serif); letter-spacing: -0.01em; }
.cards .desc { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.cards a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Post */
.post-head { text-align: center; padding: clamp(48px, 8vw, 104px) var(--gutter) 0; }
.post-head .label { margin-bottom: 22px; }
.post-head h1 { font-size: clamp(36px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.03em; max-width: 18ch; margin: 0 auto; }
.post-plate { margin: clamp(40px, 6vw, 72px) auto; max-width: 560px; padding: 0 var(--gutter); }
.post-plate img { width: 100%; aspect-ratio: 975 / 885; object-fit: contain; mix-blend-mode: var(--art-blend); border-radius: var(--soft); }
.post-plate figcaption { margin-top: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.post-plate figcaption b { font: 500 18px/1.2 var(--serif); }
.post-plate figcaption span { font: italic 14px/1.2 var(--serif); color: var(--ink-3); }

.prose { padding: 0 var(--gutter); box-sizing: content-box; }
.prose p, .prose li { font: 400 clamp(18px, 1.8vw, 20px)/1.72 var(--serif); color: var(--ink); }
.prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3.2vw, 36px); line-height: 1.15; margin: 2.2em 0 .7em; }
.prose h3 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; margin: 1.8em 0 .5em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ink-3); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 1.2em; border-left: 2px solid var(--line); }
.prose blockquote p { font-style: italic; color: var(--ink-2); }
.prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em auto; width: 40%; }
.prose img { border-radius: var(--soft-sm); margin: 1.6em 0; }

.invite { max-width: var(--measure); margin: clamp(56px, 8vw, 96px) auto 0; padding: 28px; display: flex; gap: 20px; align-items: flex-start; background: var(--paper-2); border-radius: var(--soft-sm); }
.invite > img { flex: none; width: 64px; height: 64px; border-radius: 15px; }
.invite .label { margin-bottom: 6px; }
.invite p:not(.label) { color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.invite .store { margin-top: 16px; font-size: 15px; padding: 10px 18px; }
@media (max-width: 520px) { .invite { flex-direction: column; margin-left: var(--gutter); margin-right: var(--gutter); } }

.more { margin-top: clamp(72px, 10vw, 128px); }
.more h2 { text-align: center; margin-bottom: 36px; font-family: var(--sans); letter-spacing: .16em; line-height: 1.4; }
