/* Shared placement only: case typography, colors and content remain local. */
.portfolio-header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:none;width:auto;margin:0;padding:16px clamp(16px,4vw,48px);font-size:14px}
.portfolio-header .portfolio-back{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-height:44px;box-sizing:border-box;padding:10px 0;font-size:14px;line-height:24px;letter-spacing:0;text-decoration:none;white-space:nowrap}
.portfolio-back:focus-visible{outline:3px solid currentColor;outline-offset:4px;border-radius:2px}
.portfolio-header>:not(.portfolio-back){min-width:0}
.portfolio-header .portfolio-back span{display:inline;font-size:inherit}
.topbar.portfolio-header{top:16px;left:clamp(16px,4vw,48px);right:clamp(16px,4vw,48px);padding:0}
@media(max-width:600px){
 .portfolio-header{gap:12px;font-size:12px}
 .portfolio-header .wordmark{font-size:11px;letter-spacing:.02em;text-align:right}
 .portfolio-header>a:not(.portfolio-back){text-align:right;line-height:1.4}
 .portfolio-header>span{text-align:right}
 .topbar.portfolio-header{align-items:flex-start;flex-wrap:wrap}
 .topbar.portfolio-header .top-actions{gap:16px;font-size:11px}
}
@media(max-width:380px){
 .topbar.portfolio-header .top-actions{width:100%;justify-content:flex-end}
 .topbar.portfolio-header~.project-sign{top:132px}
}
