.blog-page { background: var(--paper); }

.blog-hero { position: relative; min-height: 680px; padding: clamp(8.5rem, 15vh, 11rem) var(--pad) 4rem; overflow: hidden; isolation: isolate; background: var(--ink); color: white; }
.blog-hero::before { content: ""; position: absolute; z-index: -2; width: min(56vw, 820px); aspect-ratio: 1; right: -13%; top: -24%; border: 1px solid rgba(255,95,0,.35); border-radius: 50%; box-shadow: inset 0 0 120px rgba(108,55,255,.14); }
.blog-grid-lines { position: absolute; z-index: -1; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.24) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.24) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.blog-hero-copy { max-width: var(--max); margin: 0 auto; }
.blog-hero h1 { max-width: 1050px; margin: 1.3rem 0 3rem; font-size: clamp(4rem, 8.4vw, 8.8rem); font-weight: 600; line-height: .88; letter-spacing: -.07em; }
.blog-hero-foot { max-width: 820px; margin-left: auto; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.blog-hero-foot p { max-width: 620px; margin: 0; color: rgba(255,255,255,.68); font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.55; }
.blog-hero-foot > span { color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; font-weight: 800; white-space: nowrap; }
.blog-hero-foot b { color: var(--orange); }

.blog-feed { max-width: var(--max); margin: 0 auto; }
.blog-feed-head { margin-bottom: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr); gap: 4rem; align-items: end; }
.blog-feed-head h2 { margin: .8rem 0 0; font-size: clamp(3.5rem, 6vw, 6.7rem); line-height: .9; letter-spacing: -.06em; }
.blog-feed-head > p { margin: 0 0 .5rem; color: #6c6270; line-height: 1.6; }

.blog-filters { margin-bottom: 3rem; display: flex; gap: .55rem; overflow-x: auto; padding-bottom: .45rem; scrollbar-width: thin; }
.blog-filter { flex: 0 0 auto; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-size: .75rem; font-weight: 700; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.blog-filter:hover, .blog-filter[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: white; }

.featured-post { min-height: 520px; display: grid; grid-template-columns: 1.25fr .75fr; overflow: hidden; border-radius: 1.4rem; background: var(--ink); color: white; }
.featured-media { min-height: 520px; overflow: hidden; background: #2d1740; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.featured-post:hover .featured-media img { transform: scale(1.035); }
.featured-copy { padding: clamp(2rem, 4.5vw, 4.8rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.post-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; font-weight: 800; }
.featured-copy h3 { margin: 1.3rem 0 1.2rem; font-size: clamp(2rem, 3.5vw, 4.2rem); line-height: .98; letter-spacing: -.05em; }
.featured-copy > p { margin: 0; color: rgba(255,255,255,.62); line-height: 1.62; }
.read-link { margin-top: 2rem; padding-bottom: .35rem; border-bottom: 1px solid var(--orange); color: var(--orange); font-size: .76rem; font-weight: 800; }

.post-grid { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.post-card { min-width: 0; padding: .75rem .75rem 1.4rem; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 1.1rem; background: rgba(255,255,255,.42); transition: color .25s ease, background .25s ease, transform .25s ease; }
.post-card:hover { background: var(--ink); color: white; transform: translateY(-7px); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; border-radius: .72rem; background: #dcd3e1; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.media-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #28113a, #ff5a0a); color: white; }
.media-fallback span { text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 800; }
.post-card:hover .post-card-media img { transform: scale(1.045); }
.post-card .post-meta { margin: 1.25rem .45rem 0; }
.post-card h3 { margin: .9rem .45rem 1.5rem; font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.08; letter-spacing: -.035em; }
.post-card .read-link { margin: auto .45rem 0; align-self: flex-start; }

.blog-actions { margin-top: 3rem; display: flex; justify-content: center; }
.button-dark { border-color: var(--ink); background: var(--ink); color: white; cursor: pointer; }
.button-dark:hover { background: var(--orange); border-color: var(--orange); }
.blog-noscript, .blog-error { padding: 1.2rem; border: 1px solid var(--line); border-radius: .8rem; line-height: 1.6; }
.blog-error a { color: var(--orange); text-decoration: underline; }

.loading { pointer-events: none; }
.post-skeleton { height: 15px; margin: .7rem; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.08), rgba(255,255,255,.2), rgba(255,255,255,.08)); background-size: 220% 100%; animation: blog-shimmer 1.4s linear infinite; }
.post-card .post-skeleton { background: linear-gradient(90deg, #ded8df, #f6f2f7, #ded8df); background-size: 220% 100%; }
.post-skeleton-image { height: auto; min-height: 280px; margin: 0; border-radius: 0; }
.post-card .post-skeleton-image { min-height: 220px; border-radius: .7rem; }
.post-skeleton.short { width: 34%; }
.post-skeleton.title { width: 78%; height: 48px; border-radius: .5rem; }
@keyframes blog-shimmer { to { background-position: -220% 0; } }

.blog-cta { position: relative; min-height: 620px; display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; background: var(--orange); text-align: center; }
.blog-cta::before { content: ""; position: absolute; width: min(88vw, 1100px); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.blog-cta .kicker, .blog-cta h2, .blog-cta .cta-circle { position: relative; z-index: 1; }
.blog-cta h2 { margin: 1rem 0 2.4rem; font-size: clamp(3.5rem, 7vw, 7.5rem); line-height: .9; letter-spacing: -.065em; }
.blog-cta h2 em { color: var(--ink); }

@media (max-width: 980px) {
  .blog-hero { min-height: 700px; }
  .blog-feed-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-media { min-height: 430px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .blog-hero { min-height: 640px; padding-top: 7.5rem; }
  .blog-hero h1 { font-size: clamp(3.7rem, 17vw, 5.2rem); }
  .blog-hero-foot { grid-template-columns: 1fr; gap: 1.4rem; }
  .blog-feed-head h2 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .blog-filters { margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .featured-post { min-height: 0; }
  .featured-media { min-height: 270px; }
  .featured-copy { padding: 1.7rem 1.35rem 2rem; }
  .featured-copy h3 { font-size: 2rem; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card h3 { font-size: 1.65rem; }
  .blog-cta { min-height: 560px; }
}

@media (prefers-reduced-motion: reduce) {
  .post-skeleton { animation: none; }
  .featured-media img, .post-card-media img { transition: none; }
}
