.portfolio-music { width:92px; height:42px; flex:none; }
.office-header { clip-path:none; backdrop-filter:none; box-shadow:none; }
.office-header::before { content:""; position:absolute; inset:0 calc((100vw - 100%) / -2); z-index:-1; background:var(--header-bg); backdrop-filter:blur(16px); border-bottom:1px solid var(--line); transition:background-color var(--theme-fade),border-color var(--theme-fade); }
.motion-paused .office-header::before { transition:none; }
#drift-player { position:fixed; border:0; background:transparent; z-index:100; color-scheme:normal; }
.music-fallback { width:42px; height:42px; display:grid; place-items:center; border:1px solid var(--btn-border); border-radius:50%; background:var(--btn-bg); color:var(--btn-fg); transition:background-color var(--theme-fade),border-color var(--theme-fade),color var(--theme-fade); }
.music-fallback svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linejoin:round; }
.music-ready .music-fallback { visibility:hidden; }
.music-unavailable { width:42px; }
/* Day/Night sits right beside the two Drift buttons, at their spacing. */
.header-controls { margin-left:auto; display:flex; align-items:center; gap:8px; }
.header-controls .theme-toggle { margin-left:0; flex:none; }
/* Logo, three round controls and the language switch only fit 320 px with tighter spacing. */
@media (max-width: 380px) {
  .office-header { column-gap:6px; }
  .office-header .language-switch { margin-left:0; }
  .office-header .wordmark { width:40px; height:40px; }
  .office-logo { width:38px; height:38px; }
}
