/* Reuse the landing page font, original cloud plates and animation parameters. */
:root { color-scheme: light; color: #252c35; font-family: "TT Prosto Sans", sans-serif; }
html, body { height: auto; min-height: 100%; overflow: visible; }
body { position: relative; isolation: isolate; }
.blog-sky { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; background: #85898b; }
.blog-nav { position: absolute; top: 0; inset-inline: 0; display: flex; justify-content: space-between; align-items: center; padding: 32px clamp(24px, 5vw, 88px); font-size: 14px; }
a { color: inherit; text-decoration: none; }
.blog-nav a { letter-spacing: .06em; font-size: 20px; }
.blog-nav span { opacity: .65; }
.blog-hero { height: 85vh; height: 85svh; min-height: 430px; display: grid; place-items: start center; padding-top: 29vh; padding-top: 29svh; }
h1 { margin: 0; font-size: clamp(64px, 9vw, 132px); line-height: 1.1; font-weight: 400; letter-spacing: -.055em; }
.blog-grid { width: min(1280px, calc(100% - 96px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 80px; }
.article-card { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; text-align: left; color: inherit; font: inherit; background: rgba(236, 240, 242, .22); transition: transform .25s ease, background .25s ease; }
.thumbnail { position: absolute; inset: 0; background: rgba(230, 234, 237, .12); }
/* Replace the empty thumbnail span with an img when editorial imagery is ready. */
.thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-title { position: absolute; bottom: 18px; left: 18px; max-width: calc(100% - 36px); padding: 12px 16px; border-radius: 12px; background: rgba(247, 249, 250, .62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; overflow-wrap: anywhere; }
.article-title small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
@media (hover: hover) { .article-card:hover { transform: translateY(-4px); background: rgba(236, 240, 242, .32); } .article-card:hover img { transform: scale(1.035); } }
:focus-visible { outline: 2px solid #252c35; outline-offset: 6px; }
.blog-footer { position: relative; height: clamp(360px, 55vw, 760px); overflow: hidden; }
.blog-footer img { width: 100%; height: 100%; object-fit: cover; object-position: center 80%; -webkit-mask-image: linear-gradient(transparent, #000 35%); mask-image: linear-gradient(transparent, #000 35%); }
.blog-footer p { position: absolute; bottom: 24px; inset-inline: 24px; margin: 0; text-align: center; font-size: 10px; letter-spacing: .04em; }
.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: calc(100% - 64px); gap: 24px; } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; width: calc(100% - 40px); gap: 24px; padding-bottom: 32px; } .blog-nav { padding: 24px; } .article-title { font-size: 20px; } .blog-footer { height: 380px; } }
@media (prefers-reduced-motion: reduce) { .article-card, .thumbnail img { transition: none; } .article-card:hover { transform: none; } }

.post-hero h1 { font-size: clamp(48px, 8vw, 112px); text-align: center; padding-inline: 24px; overflow-wrap: anywhere; }
.post-content { width: min(680px, calc(100% - 48px)); margin: 0 auto; padding-bottom: 100px; line-height: 1.8; }
.post-content h2 { font-size: 28px; font-weight: 400; line-height: 1.4; }
.post-back { display: inline-block; margin-top: 24px; padding: 10px 0; text-decoration: underline; text-underline-offset: 5px; }

/* Keep the original plates visibly drifting even across a tall scrolling sky. */
.blog-sky .cloud {
  animation-name: blog-cloud-drift, cloud-blend;
  animation-duration: calc(var(--drift-time) * .7), var(--blend-time);
}
@keyframes blog-cloud-drift {
  from { transform: translate(calc(var(--from-x) * 1.6), var(--from-y)) scale(1.025); }
  to { transform: translate(calc(var(--to-x) * 1.6), var(--to-y)) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .blog-sky .cloud { animation: none; } }

/* Overlapping viewport-scale bands retain cloud detail on long articles without stretching plates. */
.cloud-band { position: absolute; left: 0; width: 100%; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
  mask-image: linear-gradient(transparent, #000 25%, #000 75%, transparent);
}
.cloud-band-idle .cloud { animation-play-state: paused; will-change: auto; }

.blog-nav .blog-brand { display: inline-flex; align-items: center; gap: 10px; }
.blog-brand img { display: block; width: 72px; height: 24px; object-fit: contain; flex: none; }

/* Offscreen footer vapor must not reserve animated compositor surfaces. */
.blog-footer.scenery-idle .mist { animation: none; opacity: var(--mist-low); will-change: auto; }
