.blog-page { background: var(--paper); }
.nav nav a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 var(--violet); }
.blog-hero { position: relative; overflow: clip; padding: clamp(120px, 18svh, 190px) var(--gutter) clamp(36px, 6svh, 64px); background: radial-gradient(60% 80% at 80% 0%, rgba(181, 84, 239, .55), transparent 70%), radial-gradient(55% 70% at 0% 100%, rgba(68, 82, 242, .5), transparent 70%), linear-gradient(180deg, #1A1360, #130C57); color: #fff; }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.blog-hero > *:not(canvas) { position: relative; }
.blog-hero .eyebrow { color: var(--ice); }
.blog-hero h1 { font-size: clamp(2.6rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.035em; font-weight: 700; margin-top: 10px; }
.blog-lede { max-width: 34em; margin-top: 18px; font-size: clamp(16px, 1.4vw, 20px); color: #E4E0FF; line-height: 1.45; }
.blog-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.blog-tools button { padding: 11px 18px; min-height: 44px; border-radius: 99px; font-weight: 500; font-size: 14.5px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); transition: background .2s, color .2s; }
.blog-tools button:hover { background: rgba(255, 255, 255, .12); }
.blog-tools button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: none; }
.blog-tools .textlink { margin-left: 18px; color: #fff; }
.posts { columns: 3 340px; column-gap: 22px; padding: clamp(28px, 5vw, 60px) var(--gutter) 90px; }
.post { break-inside: avoid; display: block; margin: 0 0 22px; background: #fff; border-radius: 24px; padding: 22px 22px 20px; box-shadow: 0 0 0 1px rgba(27, 23, 64, .06), 0 24px 50px -34px rgba(43, 31, 201, .4); opacity: 0; transform: translateY(30px) scale(.98); transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .3s; }
.post.in { opacity: 1; transform: none; }
.post:hover { box-shadow: 0 0 0 1px rgba(100, 48, 210, .22), 0 40px 70px -36px rgba(68, 82, 242, .55); }
.post[hidden] { display: none; }
.post-meta { display: flex; justify-content: space-between; gap: 10px; font: 500 12px/1.3 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.post-meta b { color: #6430D2; font-weight: 600; }
.post-text { margin-top: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.post-text.clamp { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.more { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--indigo); padding: 8px 0; }
.post-media { margin-top: 14px; border-radius: 16px; overflow: hidden; background: var(--abyss); }
.post-media iframe { display: block; width: 100%; height: 540px; border: 0; background: #fff; }
.post-media img { display: block; width: 100%; height: auto; }
.post-media.vid { position: relative; }
.post-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 500; font-size: 14.5px; border-bottom: 1px solid currentColor; padding: 8px 0 2px; }
.post-link svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.empty { padding: 60px var(--gutter); color: var(--ink-2); font-size: 18px; }
@media (max-width: 860px) { .posts { columns: 1; } .post-media iframe { height: 500px; } }
@media (prefers-reduced-motion: reduce) { .post { opacity: 1; transform: none; } }

.post-media.vid { display: block; position: relative; }
.post-media.vid img { transition: transform .6s var(--ease), filter .3s; }
.post-media.vid:hover img { transform: scale(1.04); filter: brightness(.8); }
.post-media.vid i { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 0 0 8px rgba(255, 255, 255, .2); transition: transform .3s var(--ease); }
.post-media.vid:hover i { transform: scale(1.12); }
.post-media.vid svg { width: 22px; height: 22px; margin-left: 3px; fill: var(--ink); }
