/* Case-study top bar: stays on screen while you read, so the way back is always one tap away.
   Transparent over the hero; once the page moves it settles into a solid, compact bar. */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s ease, border-color .3s ease, -webkit-backdrop-filter .3s ease, backdrop-filter .3s ease; border-bottom: 1px solid transparent; }
.bar .wrap { min-height: 72px; gap: 24px; transition: min-height .3s cubic-bezier(.16, 1, .3, 1); }
.bar a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.bar a[href="/"] svg { width: 16px; height: 16px; flex: none; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.bar a[href="/"]:hover svg { transform: translateX(-3px); }
.bar .crumb { flex: 1; text-align: center; font: 500 .75rem/1.2 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #92929d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .3s ease; }
.bar.is-stuck { background: rgba(10, 10, 11, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--edge, #232327); }
.bar.is-stuck .wrap { min-height: 56px; }
.bar.is-stuck a { text-shadow: none; }
.bar.is-stuck .crumb { opacity: 1; }
@media (max-width: 900px) { .bar .crumb { display: none; } }
@media (prefers-reduced-motion: reduce) { .bar, .bar .wrap, .bar .crumb, .bar a svg { transition: none; } }
