/* Blog: index, post page, covers, reading progress. Shared by the About page. */

.acc-tomato { --acc: var(--tomato); } .acc-sun { --acc: var(--sun); } .acc-mint { --acc: var(--mint); }
.acc-lilac { --acc: var(--lilac); } .acc-cobalt { --acc: #9fc3ff; } .acc-pink { --acc: var(--pink); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.link-arrow { font-weight: 700; text-decoration: none; background: linear-gradient(var(--tomato), var(--tomato)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.link-arrow:hover { background-size: 100% 2px; }

/* ---------------------------------------------------------------- covers */
.cover { width: 100%; height: auto; display: block; }
.cover .cv-bg { fill: var(--acc); }
.cover .cv-dots circle { fill: rgba(21,19,15,.22); }
.cover .cv-blob { fill: rgba(255,255,255,.35); }
.cover .cv-card, .cover .cv-note { fill: var(--card); stroke: var(--ink); stroke-width: 4; }
.cover .cv-note { fill: var(--sun); }
.cover .cv-line, .cover .cv-nav { fill: var(--ink); opacity: .82; }
.cover .cv-head { opacity: 1; }
.cover .cv-hole { fill: var(--acc); stroke: var(--ink); stroke-width: 3; }
.cover .cv-big { font: 800 52px var(--font-display); fill: var(--ink); letter-spacing: -2px; }
.cover .cv-coin { fill: var(--sun); stroke: var(--ink); stroke-width: 3.5; }
.cover .cv-clip, .cover .cv-side { fill: var(--ink); }
.cover .cv-sidefix { fill: var(--ink); }
.cover .cv-box { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.cover .cv-check { fill: none; stroke: var(--tomato); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.cover .cv-edit { fill: var(--tomato); opacity: 1; }
.cover .cv-toggle { fill: var(--mint); stroke: var(--ink); stroke-width: 3; }
.cover .cv-knob { fill: var(--card); stroke: var(--ink); stroke-width: 3; }
.cover .cv-btn { fill: var(--tomato); stroke: var(--ink); stroke-width: 3; }
.cover .cv-cursor { fill: var(--cobalt); stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.cover .cv-gauge { fill: none; stroke: var(--card); stroke-width: 26; stroke-linecap: round; }
.cover .cv-gauge-fill { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 30; }
.cover .cv-tick { fill: var(--ink); }
.cover .cv-needle { transform-origin: 200px 190px; transform: rotate(38deg); }
.cover .cv-needle path { fill: var(--tomato); stroke: var(--ink); stroke-width: 3; }
.cover .cv-needle circle { fill: var(--ink); }
.cover .cv-rings circle { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.cover .cv-pencil rect { fill: var(--tomato); stroke: var(--ink); stroke-width: 3; }
.cover .cv-spark { fill: var(--card); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.cover * { transform-box: view-box; }
.cover .cv-float { transition: transform .7s var(--ease-out); }
@media (prefers-reduced-motion: no-preference) {
  .cover .cv-spark { animation: spin 9s linear infinite; }
  .cover--speed .cv-needle { animation: needle 3.6s var(--ease-in-out) infinite; }
  .cover--landing .cv-cursor { animation: cursorclick 3s var(--ease-in-out) infinite; }
  .cover--landing .cv-cta { animation: ctapulse 3s var(--ease-in-out) infinite; transform-origin: 159px 151px; }
  .cover--panel .cv-knob { animation: knob 3.2s var(--ease-in-out) infinite; }
  .cover--panel .cv-toggle { animation: toggle 3.2s var(--ease-in-out) infinite; }
  .cover--price .cv-coins { animation: drift 5s var(--ease-in-out) infinite; }
  .cover--brief .cv-pencil { animation: pencil 2.6s var(--ease-in-out) infinite; transform-origin: 288px 150px; }
  .cover--checklist .cv-check { animation: check 4.5s var(--ease-out) infinite; }
  .cover--checklist .cv-check-2 { animation-delay: .35s; } .cover--checklist .cv-check-3 { animation-delay: .7s; }
  a:hover .cover .cv-float, a:focus-visible .cover .cv-float { transform: translateY(-6px) rotate(-1.5deg); }
}
@keyframes needle { 0%, 100% { transform: rotate(-50deg); } 45%, 70% { transform: rotate(48deg); } 58% { transform: rotate(40deg); } }
@keyframes cursorclick { 0%, 100% { transform: translate(40px, 30px); } 40%, 60% { transform: translate(0, 0); } 50% { transform: translate(0, 0) scale(.9); } }
@keyframes ctapulse { 0%, 45%, 100% { transform: scale(1); } 50% { transform: scale(.94); } 56% { transform: scale(1.04); } }
@keyframes knob { 0%, 30% { transform: translateX(0); } 50%, 80% { transform: translateX(26px); } 100% { transform: translateX(0); } }
@keyframes toggle { 0%, 30% { fill: var(--paper-2); } 50%, 80% { fill: var(--mint); } 100% { fill: var(--paper-2); } }
@keyframes pencil { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-8deg) translateX(-4px); } }
@keyframes check { 0% { stroke-dashoffset: 40; } 20%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 40; } }

.chip-cat {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--acc, var(--sun));
  border: 1.5px solid var(--ink); font-size: .76rem; font-weight: 750; letter-spacing: .04em; text-decoration: none; text-transform: uppercase;
}
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .86rem; font-weight: 600; }

/* ---------------------------------------------------------------- index */
.blog-hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) 10px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: end; }
.blog-title { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.045em; font-weight: 800; line-height: .98; max-width: 14ch; }
.blog-lead { margin-top: 18px; max-width: 56ch; font-size: clamp(1.05rem, .7vw + .9rem, 1.3rem); color: var(--ink-2); }
.blog-hero-art { position: relative; height: 260px; }
.bh-paper { position: absolute; width: 150px; height: 190px; border-radius: 14px; border: 2px solid var(--ink); background: var(--card); box-shadow: 5px 5px 0 var(--ink); }
.bh-paper::before, .bh-paper::after { content: ""; position: absolute; left: 18px; right: 30px; height: 8px; border-radius: 4px; background: var(--ink); opacity: .7; top: 28px; }
.bh-paper::after { top: 48px; right: 60px; opacity: .4; }
.bh-p1 { right: 120px; top: 30px; rotate: -12deg; background: var(--lilac); }
.bh-p2 { right: 60px; top: 10px; rotate: 6deg; background: var(--sun); }
.bh-p3 { right: 10px; top: 50px; rotate: 16deg; background: var(--mint); }
.bh-yagi { position: absolute; right: 70px; bottom: -10px; width: 130px; }
@media (prefers-reduced-motion: no-preference) {
  .bh-paper { animation: drift 7s var(--ease-in-out) infinite; }
  .bh-p2 { animation-delay: -2s; } .bh-p3 { animation-delay: -4s; animation-direction: reverse; }
}

.blog-tools { max-width: var(--maxw); margin: 26px auto 0; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.blog-search { position: relative; flex: 1 1 280px; max-width: 420px; }
.blog-search input {
  width: 100%; min-height: 50px; padding: 10px 16px 10px 44px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card);
  font-size: 1rem; box-shadow: 3px 3px 0 var(--ink); transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.blog-search input:focus-visible { outline: none; box-shadow: 5px 5px 0 var(--tomato); transform: translate(-1px, -1px); }
.blog-search-icon { position: absolute; left: 16px; top: 50%; translate: 0 -50%; font-size: 1.3rem; }
.blog-cats { position: relative; display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 2px solid var(--ink); }
.blog-cats a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .9rem; transition: color .3s; white-space: nowrap; }
.blog-cats a small { opacity: .6; font-weight: 600; }
.blog-cats a[aria-current] { color: var(--paper); }
.blog-cats-pill { position: absolute; z-index: 0; top: 0; left: 0; height: 0; width: 0; border-radius: 999px; background: var(--ink); transition: transform .45s var(--ease-spring), width .45s var(--ease-spring), height .45s var(--ease-spring); }
.no-js .blog-cats a[aria-current] { background: var(--ink); }

.blog-featured { max-width: var(--maxw); margin: 34px auto 0; padding: 0 var(--gutter); }
.feat-card { border-radius: var(--radius-lg); background: var(--card); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.feat-card:hover { transform: translate(-3px, -3px); box-shadow: 14px 14px 0 var(--ink); }
.feat-link { display: grid; grid-template-columns: 1.1fr .9fr; text-decoration: none; }
.feat-cover { border-right: 2px solid var(--ink); overflow: hidden; }
.feat-cover .cover { height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1s var(--ease-out); }
.feat-card:hover .feat-cover .cover { transform: scale(1.09); }
.feat-body { padding: clamp(22px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feat-badge { font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #a82c0e; }
.feat-title { font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -0.035em; line-height: 1.02; }
.feat-excerpt { color: var(--ink-2); font-size: 1.05rem; }
.feat-body .btn { align-self: flex-start; margin-top: 6px; }

.blog-grid-wrap { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--gutter) 30px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; perspective: 1400px; }
.post-card { position: relative; border-radius: var(--radius); background: var(--card); border: 2px solid var(--ink); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .35s var(--ease-out); }
.post-card:hover, .post-card:focus-within { box-shadow: 7px 7px 0 var(--ink); }
.js .post-card[data-reveal].is-in { transition: opacity .8s var(--ease-out) var(--d, 0s), transform .25s var(--ease-out), box-shadow .35s var(--ease-out); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card-cover { border-bottom: 2px solid var(--ink); overflow: hidden; aspect-ratio: 400 / 260; }
.post-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.post-card-body .chip-cat { align-self: flex-start; }
.post-card-title { font-size: 1.32rem; letter-spacing: -0.02em; line-height: 1.12; }
.post-card-excerpt { color: var(--ink-2); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .post-meta { margin-top: auto; }
.post-card.is-filtered { display: none; }
.blog-empty { display: grid; justify-items: center; gap: 12px; padding: 50px 0; text-align: center; font-weight: 650; color: var(--muted); }
.blog-empty .mascot { width: 110px; }
.blog-rss { margin-top: 24px; text-align: center; font-size: .9rem; }
.blog-rss a { color: var(--muted); font-weight: 650; text-decoration: none; }
.blog-rss a:hover { color: var(--tomato-deep); }

.blog-cta { max-width: var(--maxw); margin: 30px auto 0; padding: 0 var(--gutter) 30px; }
.blog-cta-inner {
  position: relative; display: grid; grid-template-columns: 120px 1fr auto; gap: 26px; align-items: center; padding: clamp(22px, 3vw, 40px);
  border-radius: var(--radius-lg); background: var(--sun); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden;
}
.blog-cta-yagi { width: 120px; }
.blog-cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 6px; }

/* ---------------------------------------------------------------- reading progress */
.read-progress { position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 45; height: 6px; background: rgba(21,19,15,.06); pointer-events: none; }
.read-bar { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--tomato); transform-origin: left; transform: scaleX(var(--rp, 0)); }
.read-yagi { position: absolute; top: -2px; left: calc(var(--rp, 0) * (100% - 40px)); width: 40px; display: grid; justify-items: center; opacity: 0; transition: opacity .3s; }
.read-progress.is-active .read-yagi, .read-progress.is-done .read-yagi { opacity: 1; }
.read-yagi .mascot { width: 34px; margin-top: 4px; }
.read-yagi em {
  position: absolute; top: 46px; white-space: nowrap; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-style: normal; font-size: .72rem; font-weight: 700; opacity: 0; transition: opacity .3s;
}
.read-progress.is-active .read-yagi em { opacity: 1; }
.read-progress.is-done .read-bar { background: var(--mint); }
body:has(.read-progress) .scroll-progress { display: none; } /* the reading bar replaces it on posts */

/* ---------------------------------------------------------------- post */
.post { max-width: var(--maxw); margin: 0 auto; padding: clamp(28px, 4vw, 56px) var(--gutter) 10px; }
.post-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 4vw, 56px); align-items: center; margin-bottom: clamp(30px, 5vw, 60px); }
.post-hero-copy .chip-cat { margin-bottom: 14px; }
.post-title { font-size: clamp(2.2rem, 5.2vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.02; font-weight: 800; }
.post-excerpt { margin-top: 16px; font-size: clamp(1.05rem, .7vw + .9rem, 1.28rem); color: var(--ink-2); max-width: 54ch; }
.post-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.post-facts li { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line-strong); font-size: .86rem; }
.post-facts span { color: var(--muted); }
.post-hero-cover { border-radius: var(--radius-lg); border: 2px solid var(--ink); overflow: hidden; box-shadow: 10px 10px 0 var(--ink); rotate: 1.5deg; transition: rotate .6s var(--ease-out); }
.post-hero-cover:hover { rotate: 0deg; }

.post-layout { display: grid; grid-template-columns: 250px minmax(0, 720px); gap: clamp(24px, 5vw, 70px); justify-content: center; }
.post-aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; display: grid; gap: 22px; }
.toc { position: relative; padding-left: 14px; border-left: 2px solid var(--line); }
.toc-title { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc ol ol { padding-left: 12px; margin: 2px 0 4px; }
.toc a { display: block; padding: 5px 8px; border-radius: 8px; text-decoration: none; font-size: .9rem; line-height: 1.3; color: var(--muted); font-weight: 600; transition: color .25s, background-color .25s; }
.toc a:hover { color: var(--ink); background: var(--paper-2); }
.toc a.is-active { color: var(--ink); }
.toc-marker { position: absolute; left: -2px; top: 0; width: 2px; height: 24px; background: var(--tomato); transition: transform .4s var(--ease-spring), height .4s var(--ease-spring), opacity .3s; opacity: 0; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .toc-title { width: 100%; margin: 0; }
.share-btn {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card);
  text-decoration: none; font-weight: 800; cursor: pointer; transition: transform .3s var(--ease-spring), background-color .2s;
}
.share-btn:hover { transform: translateY(-3px) rotate(-6deg); background: var(--sun); }
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-copy.is-copied { background: var(--mint); }

.prose-blog { font-size: clamp(1.04rem, .25vw + 1rem, 1.14rem); line-height: 1.75; color: var(--ink-2); }
.prose-blog > * + * { margin-top: 1.1em; }
.prose-blog h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); letter-spacing: -0.03em; color: var(--ink); margin-top: 2.1em; scroll-margin-top: calc(var(--header-h) + 30px); }
.prose-blog h3 { font-size: 1.3rem; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.7em; scroll-margin-top: calc(var(--header-h) + 30px); }
.prose-blog h2, .prose-blog h3 { position: relative; }
.prose-blog .anchor { position: absolute; left: -1.1em; top: 0; opacity: 0; text-decoration: none; color: var(--tomato); transition: opacity .2s; font-weight: 700; }
.prose-blog h2:hover .anchor, .prose-blog h3:hover .anchor, .prose-blog .anchor:focus-visible { opacity: 1; }
.prose-blog strong { color: var(--ink); }
.prose-blog a:not(.btn) { color: var(--cobalt); font-weight: 650; text-underline-offset: 3px; }
.prose-blog .btn { color: var(--fg); text-decoration: none; }
.prose-blog .btn:hover, .prose-blog .btn:focus-visible { color: var(--hover-fg, var(--ink)); }
.prose-blog ul, .prose-blog ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose-blog ul li::marker { color: var(--tomato); }
.prose-blog ol li::marker { font-weight: 800; color: var(--ink); }
.prose-blog blockquote { margin: 1.6em 0; padding: 18px 22px; border-radius: 18px; background: var(--card); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--acc, var(--sun)); }
.prose-blog blockquote.yagi-note { position: relative; padding-left: 86px; min-height: 92px; background: #fff8e6; }
.prose-blog blockquote.yagi-note::before {
  content: ""; position: absolute; left: 16px; top: 14px; width: 56px; height: 62px;
  background: url("../img/yagi-email.b54a6e3168a0.png") center / contain no-repeat;
}
.prose-blog blockquote p { margin: 0; }
.prose-blog table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .95rem; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; }
.prose-blog th { background: var(--ink); color: var(--paper); text-align: left; padding: 10px 12px; }
.prose-blog td { padding: 10px 12px; border-top: 1.5px solid var(--paper-2); background: var(--card); vertical-align: top; }
.prose-blog code { padding: 1px 6px; border-radius: 6px; background: var(--paper-2); font-size: .9em; }
.prose-blog hr { border: 0; border-top: 2px dashed var(--line-strong); margin: 2.4em 0; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 2.4em !important; font-size: .92rem; }
.post-tags span { color: var(--muted); font-weight: 650; }
.post-tags em { font-style: normal; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); font-weight: 650; }
.post-end {
  display: grid; grid-template-columns: 70px 1fr; gap: 6px 18px; align-items: center; margin-top: 2.6em !important; padding: 22px;
  border-radius: var(--radius); background: var(--card); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--mint);
}
.post-end-yagi { grid-row: span 2; width: 70px; }
.post-end p { margin: 0; color: var(--ink-2); }
.post-end .btn { justify-self: start; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1040px; margin: clamp(40px, 6vw, 70px) auto 0; }
.post-nav-link { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--radius); border: 2px solid var(--ink); background: var(--card); text-decoration: none; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.post-nav-link:hover { transform: translateY(-3px); box-shadow: 5px 5px 0 var(--ink); }
.post-nav-link span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.post-nav-link strong { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.post-nav-next { text-align: right; grid-column: 2; }
.related { max-width: var(--maxw); margin: 0 auto; padding: clamp(50px, 7vw, 90px) var(--gutter) 10px; }
.related-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.related-title { font-size: clamp(2rem, 4.4vw, 3.4rem); }

/* view transitions between card and post */
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 720px); }
  .post-aside { position: static; order: 2; }
  .toc { display: none; }
}
@media (max-width: 900px) {
  .blog-hero, .post-hero { grid-template-columns: 1fr; }
  .blog-hero-art { display: none; }
  .feat-link { grid-template-columns: 1fr; }
  .feat-cover { border-right: 0; border-bottom: 2px solid var(--ink); }
  .blog-cta-inner { grid-template-columns: 80px 1fr; }
  .blog-cta-yagi { width: 80px; }
  .blog-cta-inner .btn { grid-column: 1 / -1; }
  .read-progress { top: var(--header-h); }
  .post-hero-cover { rotate: 0deg; box-shadow: 6px 6px 0 var(--ink); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: -16px; border-radius: 0; border-inline: 0; padding-inline: 12px; scroll-padding-inline: 12px; }
  .blog-cats::-webkit-scrollbar { display: none; }
  .blog-cats a { flex: none; scroll-snap-align: start; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { grid-column: 1; }
  .prose-blog blockquote.yagi-note { padding-left: 22px; padding-top: 76px; }
  .prose-blog .anchor { display: none; }
  .post-end { grid-template-columns: 56px minmax(0, 1fr); }
  .post-end-yagi { width: 56px; grid-row: auto; }
  .post-end .btn { grid-column: 1 / -1; justify-self: stretch; }
  .read-yagi { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .post-hero-cover { rotate: 0deg; }
}

/* ---------------------------------------------------------------- RSS page */
.blog-rss a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding-inline: 6px; }
.blog-rss svg { width: 16px; height: 16px; fill: #f26522; }
.rss-page { max-width: 1000px; margin: 0 auto; padding: clamp(28px, 5vw, 64px) var(--gutter) 40px; }
.rss-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; }
.rss-title { max-width: 12ch; }
.rss-art { position: relative; height: 240px; }
.rss-wave { position: absolute; left: 20px; bottom: 30px; border: 14px solid #f26522; border-color: #f26522 transparent transparent #f26522; border-radius: 0 100% 0 0; rotate: 0deg; }
.rss-w1 { width: 70px; height: 70px; border-width: 12px; } .rss-w2 { width: 130px; height: 130px; opacity: .8; } .rss-w3 { width: 190px; height: 190px; opacity: .55; }
.rss-wave { border-radius: 100% 0 0 0; border-color: #f26522 transparent transparent #f26522; transform-origin: 0 100%; }
.rss-dot { position: absolute; left: 14px; bottom: 24px; width: 30px; height: 30px; border-radius: 50%; background: #f26522; border: 3px solid var(--ink); }
.rss-yagi { position: absolute; right: 0; bottom: 0; width: 120px; }
@media (prefers-reduced-motion: no-preference) {
  .rss-wave { animation: rsspulse 2.4s var(--ease-in-out) infinite; }
  .rss-w2 { animation-delay: .25s; } .rss-w3 { animation-delay: .5s; }
}
@keyframes rsspulse { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.rss-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.rss-steps li { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius); background: var(--card); border: 2px solid var(--ink); font-weight: 600; }
.rss-steps span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); font-weight: 800; }
.rss-copy { display: flex; gap: 10px; margin-top: 26px; }
.rss-copy input { flex: 1; min-width: 0; min-height: 56px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--card); font-family: ui-monospace, Menlo, monospace; font-size: .95rem; }
.rss-copy .btn.is-copied { --bg: var(--mint); }
.rss-latest-h { font-size: 1.4rem; margin: 46px 0 14px; }
.rss-list { list-style: none; display: grid; gap: 8px; }
.rss-list a { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; transition: transform .3s var(--ease-out), border-color .2s; }
.rss-list a:hover { transform: translateX(6px); border-color: var(--ink); }
.rss-list time { font-weight: 700; color: var(--muted); font-size: .86rem; }
.rss-list span { color: var(--muted); font-size: .86rem; white-space: nowrap; }
@media (max-width: 760px) {
  .rss-hero { grid-template-columns: 1fr; }
  .rss-art { display: none; }
  .rss-steps { grid-template-columns: 1fr; }
  .rss-copy { flex-direction: column; }
  .rss-list a { grid-template-columns: 1fr; gap: 4px; }
}
