.and-projects-views{display:none!important}
.single-work .and-story-back{display:none!important}
.and-project-return{position:fixed;right:var(--gutter,32px);top:24px;z-index:51;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:60px;height:60px;padding:0 20px;box-sizing:border-box;border:1px solid rgba(160,160,160,.3);border-radius:999px;background:rgba(100,100,100,.18);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:var(--ink);font:12px/1.3 'ANEWDAY Roboto Mono',monospace;text-decoration:none;white-space:nowrap;transition:background .2s}
.and-project-return:hover{background:rgba(140,140,140,.3)}
.and-project-return:focus-visible{outline:2px solid currentColor;outline-offset:4px}
.toolbar.sticky-nav .and-project-return-mounted{position:static;flex-shrink:0;margin-left:0;color:var(--ink)}
.single-work .toolbar.sticky-nav .actions{margin-left:auto}
@media(max-width:1100px){.and-project-return{width:60px;padding:0}.and-project-return span{display:none}.toolbar.sticky-nav .and-project-return-mounted{margin-left:0}}
@media(max-width:560px){
.single-work .source-catalogue .toolbar.sticky-nav .nav-brand,.single-work.source-catalogue .toolbar.sticky-nav .nav-brand{width:min(30vw,calc(100vw - 250px))}
.single-work.source-catalogue .toolbar.sticky-nav>.nav-inner{padding-inline:20px;gap:8px}
.single-work.source-catalogue .toolbar.sticky-nav .and-project-return{width:44px;min-width:44px;height:44px}
.single-work.source-catalogue .toolbar.sticky-nav :is(.source-languages,.mode-toggle,.icon-button.and-menu-toggle){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important}
.single-work.source-catalogue .toolbar.sticky-nav :is(.and-language-circle,.mode-symbol){width:44px;height:44px}
.single-work.source-catalogue .toolbar.sticky-nav .actions,.single-work.source-catalogue .toolbar.sticky-nav .source-header-controls{gap:4px}
}
@media print{.and-project-return{display:none!important}}
.toolbar[data-header-surface=light] .and-project-return{color:#1a1a1a}
.toolbar[data-header-surface=dark] .and-project-return{color:#f5f5f3}

.toolbar.sticky-nav .actions>.and-project-return-mounted{width:auto;min-width:60px;margin:0;pointer-events:auto}
@media(min-width:1101px){.and-project-return span{display:inline}}
@media(max-width:1100px){.toolbar.sticky-nav .actions>.and-project-return-mounted{width:60px;padding:0}}
@media(max-width:560px){.toolbar.sticky-nav .actions>.and-project-return-mounted{width:44px;min-width:44px;height:44px;padding:0}}

/* Match the existing header glass controls exactly. */
.toolbar.sticky-nav .and-project-return{border:0;background:rgba(30,30,30,.28);backdrop-filter:blur(16px) saturate(125%);-webkit-backdrop-filter:blur(16px) saturate(125%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),inset 0 1px 0 rgba(255,255,255,.12)}
:root[data-theme=light] .toolbar.sticky-nav .and-project-return{background:rgba(255,255,255,.20);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),inset 0 1px 0 rgba(255,255,255,.6)}

@media(min-width:1101px){.toolbar.sticky-nav .actions>.and-project-return-mounted{padding-right:24px}}

/* Archive identity occupies the same right-hand slot as the case return. */
.toolbar.sticky-nav .actions>.and-project-location{pointer-events:none;width:auto;min-width:0;padding:0 20px;font-size:12px}
.toolbar.sticky-nav .and-project-location span{display:inline!important}
.post-type-archive-work .and-projects-overview{padding:0!important;margin:0!important;min-height:0;height:0;overflow:visible}
.post-type-archive-work .and-projects-overview h1{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.post-type-archive-work .and-projects-overview+.studio-project-grid{margin-top:24px}
@media(max-width:560px){
.post-type-archive-work.source-catalogue .toolbar.sticky-nav .nav-brand{width:min(30vw,calc(100vw - 270px));min-width:60px}
.post-type-archive-work.source-catalogue .toolbar.sticky-nav>.nav-inner{padding-inline:16px;gap:8px}
.post-type-archive-work.source-catalogue .toolbar.sticky-nav :is(.source-languages,.mode-toggle,.icon-button.and-menu-toggle){width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex-basis:44px!important}
.post-type-archive-work.source-catalogue .toolbar.sticky-nav :is(.and-language-circle,.mode-symbol){width:44px;height:44px}
.post-type-archive-work.source-catalogue .toolbar.sticky-nav .actions,.post-type-archive-work.source-catalogue .toolbar.sticky-nav .source-header-controls{gap:4px}
.toolbar.sticky-nav .actions>.and-project-location{height:44px;padding:0 12px;font-size:11px}
}

/* Let the archive artwork reach the viewport top under floating controls. */
.post-type-archive-work.example-site[data-application=page] .studio-main{padding-top:0!important;margin-top:calc(-1 * var(--source-header-height,82px))}
.post-type-archive-work .and-projects-overview+.studio-project-grid{margin-top:0}
.toolbar.sticky-nav .actions>.and-project-location{padding:0 8px;background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0;font:400 18px/1.2 'ANEWDAY Oswald',sans-serif;letter-spacing:.06em;text-transform:uppercase}
@media(max-width:560px){.toolbar.sticky-nav .actions>.and-project-location{padding:0 4px;font-size:14px}}

/* Keep the mobile return target square despite global link min-heights. */
@media(max-width:560px){
.single-work.source-catalogue .toolbar.sticky-nav .actions>.and-project-return-mounted{display:grid;place-items:center;align-self:center;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;margin:0;border-radius:50%;line-height:1;box-sizing:border-box}
.single-work.source-catalogue .toolbar.sticky-nav .and-project-return svg{display:block;width:20px;height:20px;margin:0}
.single-work.source-catalogue .toolbar.sticky-nav .and-project-return span{display:none!important}
}

/* Header logo now relies on automatic contrast, without its former halo. */
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools)::before{content:none!important;display:none!important}

/* Floating mobile header, with larger touch controls. */
@media(max-width:560px){
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools){background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;box-shadow:none!important}
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools)>.nav-inner{background:transparent!important;padding:12px 16px!important;gap:8px;min-height:76px}
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) .nav-brand{width:clamp(60px,calc(100vw - 280px),138px)!important;min-width:60px;flex-shrink:1}
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) .actions,.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) .source-header-controls{gap:6px!important}
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) :is(.source-languages,.mode-toggle,.icon-button.and-menu-toggle),.single-work.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) .actions>.and-project-return-mounted{width:52px!important;min-width:52px!important;max-width:52px!important;height:52px!important;min-height:52px!important;max-height:52px!important;flex:0 0 52px!important;padding:0!important;border-radius:50%}
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) :is(.and-language-circle,.mode-symbol){width:52px!important;height:52px!important}
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) .and-project-return svg{width:22px;height:22px}
.source-catalogue .toolbar.sticky-nav:not(.and-menu-tools) .and-project-location{height:52px!important}
}
