/* Public reading surfaces share the blue-violet glass palette. */
.visual-studio { padding: 10px; box-sizing: border-box; }
.visual-studio .project-screenshot { display: block; width: 100%; height: 100%; object-fit: contain; }
.article-section .project-screenshot { display: block; width: 100%; height: auto; margin: 16px 0; border: 1px solid #bcc7dd; border-radius: 12px; }
.project-reference { display: inline-flex; align-items: center; min-height: 44px; }
:root {
  --text-secondary: #465878;
  --muted: var(--text-secondary);
  --control-radius: 12px;
  --card-radius: 20px;
  --nav-clearance: 104px;
}
html { scroll-padding-top: var(--nav-clearance); }
main section[id], #project-grid { scroll-margin-top: 0; }
:where(a, button, input, select, summary, [tabindex]):focus-visible {
  outline: 3px solid #334db1; outline-offset: 2px;
}
.header nav a, .reading-options button, .reader-actions button, #motion-toggle {
  min-height: 44px; min-width: 44px;
}
.header nav a { display: inline-flex; align-items: center; justify-content: center; }
.eyebrow, .section-description, .finance-card-meta, .note-meta, .project-status { color: var(--text-secondary); }
.section .section-heading h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.35; }
.section .section-heading { margin-bottom: 24px; }
.finance-card, .project-card { border-radius: var(--card-radius); }
.hero { min-height: 0; padding-block: 36px; }
.hero-actions { margin-top: 20px; }
.topic-strip > .wrap { padding-block: 8px; }
@media (max-width: 760px) {
  :root { --nav-clearance: 96px; }
  .section { padding-block: 44px; }
  .section .section-heading { margin-bottom: 16px; }
  .hero { padding-block: 24px 16px; gap: 8px; }
  .hero h1 { margin: 0; }
  .hero-actions { margin-top: 14px; }
  .glass-scene { height: 114px; width: min(100%, 400px); justify-self: center; }
  .glass-scene .slab-back, .glass-scene .slab-front {
    width: 58%; height: 84px; left: 21%; top: 14px; padding: 0; border-radius: 16px;
  }
  .glass-scene .slab-back { left: 24%; top: 11px; transform: rotate(5deg); }
  .glass-scene .slab-front { display: grid; place-items: center; transform: rotate(-4deg); }
  .glass-scene .infinity-mark { width: 82%; height: 56px; margin: 0; }
  .glass-scene :is(.slab-chrome,.slab-caption,.slab-title,.slab-lines,.floating-chip,.scene-caption,.scene-orb) { display: none; }
  .topic-strip > .wrap { padding: 8px; }
  .topic-links { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px; }
  .topic-links > a { min-height: 44px; }
  .resource-search button { min-width: 44px; }
}
@media (max-width: 560px) {
  :root { --nav-clearance: 116px; }
  .header { min-height: 0; padding-block: 2px; gap: 0; }
  .header nav a { padding: 4px 0; font-size: 12px; }
}
@media (max-height: 500px) { :root { --nav-clearance: 8px; } .header { position: relative; top: 0; } }
