/* Blog-only refinements of the shared pearl, navy and steel-blue site theme. */
:root {
  --color-background-primary: var(--paper);
  --color-background-secondary: var(--surface);
  --color-border-secondary: var(--line);
  --border-radius-lg: 6px;
  --border-radius-md: 4px;
}
.blog-page::before { content: none; }
.skip-link { position: fixed; top: 12px; left: 24px; z-index: 200; padding: 12px 20px; background: var(--midnight); color: var(--paper); transform: translateY(-180%); border-radius: 4px; }
.skip-link:focus { transform: none; }
.blog-page .page-title { font-size: clamp(42px, 6vw, 76px); }
.blog-page .page-header { padding-block: 160px 68px; }
.blog-section .section-eyebrow, .root .section-label, .root .cta-eyebrow, .cond-icon { display: none; }
.blog-grid { padding-top: 24px; align-items: start; }
.blog-card, .blog-card.linked { min-height: 0; background: transparent !important; padding: 0; border-radius: 0; }
.blog-card:nth-child(3) { grid-column: span 7; }
.blog-body { padding: 0; }
.blog-img, .blog-card:nth-child(n) .blog-img { height: auto; aspect-ratio: auto; border-radius: 6px; background: var(--surface); }
.blog-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: var(--midnight); }
.poster-caption { display: block; padding: 12px 16px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.blog-title { line-height: 1.15; }
.blog-meta { flex-wrap: wrap; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.newsletter { margin-bottom: 80px; border-radius: 6px; }
.newsletter h2 { max-width: 20ch; }
.root { min-width: 0; }
.article-wrap { padding-inline: 0; }
.root .hero-title { font-size: clamp(38px, 4.6vw, 66px); max-width: 17ch; line-height: 1.08; }
.root .hero-title em { color: var(--accent); font-style: normal; }
.root .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 4vw, 64px); padding-bottom: 56px; }
.root .hero, .root .section, .root .hero > *, .root .section > * { min-width: 0; }
.root .topbar { margin-bottom: 0; }
.root .metric-strip { box-shadow: none; border-inline: 0; }
.blog-page nav .logo > span { color: var(--ink); }
.blog-page nav .logo .num-2 { color: var(--accent); }
.article-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.root .diagram:focus-visible, .timeline-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.article-hero-media { border-radius: 6px; align-self: center; background: var(--surface); }
.article-hero-media img { min-height: 0; height: auto; aspect-ratio: 16 / 9; object-fit: contain; filter: none; }
.article-hero-media figcaption { position: static; margin: 0; padding: 12px 18px; border-radius: 0; background: var(--surface); color: var(--muted); font-size: 13px; }
.article-hero-media .video-frame { border-radius: 6px 6px 0 0; }
.root .article-hero-media .recording-description { padding: 0 18px 18px; margin: 0; }
.root .project-video .recording-description { font-size: 14px; line-height: 1.65; margin-top: 12px; }
.root .project-video .video-error { padding-inline: 18px; }
.root .section { margin-top: 64px; }
.root h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.15; }
.root h3.card-heading { margin-top: 0; line-height: 1.3; }
.root .ttag-dark { background: var(--midnight); color: var(--paper); border-color: var(--midnight); }
.root .diagram { border: 1px solid var(--line); }
.root .flow-box.dark { background: var(--midnight); border-color: var(--midnight); }
.root .flow-box.dark .flow-title { color: var(--paper); }
.root .flow-box.dark .flow-sub { color: var(--pale); }
.root .result-card, .root .phase-card, .root .arch-card { padding: 24px; }
.root .result-card p, .root .phase-card p, .root .arch-card p { font-size: 15px; line-height: 1.7; }
.root .article-recordings { padding-top: 40px; border-top: 1px solid var(--line); }
.root .recordings-intro { margin-bottom: 28px; }
.root .cta-section { background: var(--surface-inverse); box-shadow: none; border-radius: 6px; }
.root .cta-section h2 { color: var(--paper); margin-inline: auto; }
.root .cta-section p { color: var(--pale); }
.root .cta-btn { background: var(--accent); color: var(--paper); min-height: 44px; }
.root .cta-btn:hover { background: var(--accent-hover); }
.blog-card.linked:focus-visible, .article-back:focus-visible, .rel-card:focus-visible, .project-video video:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
nav .nav-links { gap: 24px; }
@media (min-width: 901px) and (max-width: 1100px) { nav .nav-links { gap: 16px; } }
@media (max-width: 900px) {
  .root .hero { grid-template-columns: 1fr; }
  .root .hero-title { max-width: 22ch; }
  .article-hero-media { width: 100%; margin-top: 32px; }
  .blog-card:nth-child(n) { grid-column: span 6; margin-top: 0; }
  .blog-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .blog-page .page-header { padding-block: 126px 40px; }
  .blog-card:nth-child(n) { grid-column: 1; }
  .root .metric-strip { grid-template-columns: 1fr; }
  .root .mstrip-cell, .root .mstrip-item,
  .root .mstrip-cell + .mstrip-cell, .root .mstrip-item + .mstrip-item { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .root .mstrip-cell:last-child, .root .mstrip-item:last-child { border-bottom: 0; }
  .root .hero-title { max-width: none; }
  .root .topbar { flex-wrap: wrap; gap: 16px; }
  .root .topbar-tags { gap: 6px; }
  .root .ttag { font-size: 12px; }
  .root .hero { padding-bottom: 32px; }
  .root .problem-block, .root .diagram { padding: 20px; }
  .root .cta-section { padding: 36px 24px; }
  .newsletter { padding: 36px 24px; margin-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blog-card *, .root * { animation: none !important; transition: none !important; }
}
